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
remote_inbox.h File Reference

Holds the latest remote command state with a dead-man jog timeout (pure C++20, natively tested). More...

#include "remote_command.h"
#include <optional>

Go to the source code of this file.

Classes

struct  remote::Jog
 Jog request in the same units as Joystick/Turret::jog. More...
 
struct  remote::AimPixel
 Image pixel requested by an Aim command. More...
 
class  remote::RemoteInbox
 Stores the latest Move (with timeout), the jog speed and the pending mode, calibration and aim requests. More...
 

Variables

constexpr uint32_t remote::kJogTimeoutMs = 300
 a jog expires this long after the last Move
 
constexpr float remote::kJogSpeed = 0.6f
 jog magnitude per axis while active at JogSpeed::Normal
 
constexpr float remote::kJogSpeedSlow = 0.25f
 jog magnitude at JogSpeed::Slow
 
constexpr float remote::kJogSpeedFast = 1.0f
 jog magnitude at JogSpeed::Fast
 

Detailed Description

Holds the latest remote command state with a dead-man jog timeout (pure C++20, natively tested).

Not thread-safe by itself; the owner (Controller) guards it with a spinlock. Time is millis()-style uint32 and wraparound-safe.