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
system_control_types.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <stdint.h>
9
14enum class ControlMode : uint8_t {
15 Ai = 0,
16 User = 1,
17 Calibrate = 2
18};
19
24inline const char* to_string(ControlMode mode)
25{
26 switch (mode)
27 {
28 case ControlMode::Ai:
29 return "ai";
31 return "user";
33 return "calibrate";
34 }
35 return "ai";
36}
ControlMode
Who drives the turret right now.
Definition system_control_types.h:14
const char * to_string(ControlMode mode)
Converts a mode to its lowercase wire name.
Definition system_control_types.h:24