|
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.
|
pan = pan_a * x + pan_b, tilt = tilt_a * y + tilt_b. More...
#include <aim_map.h>
Public Member Functions | |
| Angles | aim (float x, float y) const |
| Angles for an image position, clamped to the soft limits. | |
| Pixel | to_pixel (Angles a) const |
| Image position that aim() maps to these angles: the exact inverse before clamping, x = (pan - pan_b) / pan_a and y = (tilt - tilt_b) / tilt_a. Not clamped to the frame. An axis whose slope is 0 or not finite (or whose result is not finite) returns the frame centre on that axis. | |
Public Attributes | |
| float | pan_a = 0.0f |
| float | pan_b = 0.0f |
| float | tilt_a = 0.0f |
| float | tilt_b = kTiltHomeDeg |
pan = pan_a * x + pan_b, tilt = tilt_a * y + tilt_b.