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

Maps a tracked target to a pan/tilt direction relative to the grid centre (pure C++20, header-only). More...

#include "move_types.h"
#include "tracking_types.h"
#include <tuple>

Go to the source code of this file.

Functions

std::tuple< MoveX, MoveY > tracking::direction_for (const TrackState &track, float deadzone_cells=2.5f)
 

Detailed Description

Maps a tracked target to a pan/tilt direction relative to the grid centre (pure C++20, header-only).

Only Locked and Coasting targets produce a direction. It is kept for the detect_object() return value; aiming uses AimPolicy/AimMap instead.