|
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.
|
Two-point joystick calibration as a state machine (pure C++20, natively tested). More...
Go to the source code of this file.
Classes | |
| class | aiming::CalibrationSession |
Enumerations | |
| enum class | CalState : uint8_t { Idle , WaitPoint1 , WaitPoint2 , Done , Failed } |
Two-point joystick calibration as a state machine (pure C++20, natively tested).
start() -> WaitPoint1 -> WaitPoint2 -> Done (result() holds the fitted map) or Failed (failure() says why). record() ignores presses while no target is visible (the point is meaningless) and while Idle; in Failed the next record() restarts at point 1 without recording. cancel() returns to Idle from any state.