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