Void Sentry
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
Loading...
Searching...
No Matches
telemetry.h File Reference

Periodic benchmark stats lines (every 5 s, from loop()). More...

#include "camera_diff_detection.h"
#include "camera_task.h"
#include "controller.h"
#include "frame_store.h"
#include "turret.h"
#include "turret_server.h"
#include "wifi_manager.h"

Go to the source code of this file.

Classes

struct  telemetry::Sources
 The objects the stats lines read. All references must outlive the program (they are globals). More...
 

Functions

void telemetry::log_stats (const Sources &src)
 Log the three stats lines ([stream], [detect], [net]) if 5 s passed since the last call; cheap otherwise. Call from loop().
 

Detailed Description

Periodic benchmark stats lines (every 5 s, from loop()).

Split out of main.cpp. The objects it reads stay globals in main.cpp and are passed by reference. The lines are the Stage 1 benchmark format (see telemetry.cpp); never prints credentials.