8namespace tinyrobotics {
11
12
13
14
28
29
30
31
32enum class CellState :
int8_t { UNKNOWN = -1, FREE = 0, OCCUPIED = 100 };
41
42
43
44
61
62
63
64
65
66
79 out = in * 180.0f /
static_cast<
float>(M_PI);
87inline float normalizeAngleRad(
float angle) {
88 float twoPi = 2.0f *
static_cast<
float>(M_PI);
89 angle = std::fmod(angle +
static_cast<
float>(M_PI), twoPi);
92 return angle -
static_cast<
float>(M_PI);
96inline float normalizeAngleDeg(
float angle) {
97 angle = std::fmod(angle + 180.0f, 360.0f);
100 return angle - 180.0f;
#define DEFAULT_TYPE
Definition: Config.h:5
ControlScenario
Control scenario types for remote control vehicles.
Definition: Common.h:68
CellState
Cell state for occupancy grid mapping (e.g., UNKNOWN, FREE, OCCUPIED).
Definition: Common.h:32
Unit
Units for message values.
Definition: Common.h:45
FrameType
Frame type for coordinate systems and reference frames.
Definition: Common.h:15
@ Pixel
Pixel units (e.g., for image processing)
@ RadiansPerSecond
Angular speed in radians per second.
@ AngleRadian
Angle in radians.
@ Centimeters
Distance in centimeters.
@ TemperatureF
Temperature in Fahrenheit.
@ Millimeters
Distance in millimeters.
@ AngleDegree
Angle in degrees.
@ Meters
Distance in meters.
@ Percent
Percentage (0-100)
@ TemperatureC
Temperature in Celsius.
@ MetersPerSecond
Speed in meters per second.
@ ODOMETRY
Odometry frame (incremental, mobile robot pose)
@ WHEEL
Wheel or actuator frame.
@ OBSTACLE
Obstacle or object frame.
@ WORLD
World/global reference frame (fixed, absolute)
@ CUSTOM
Custom user-defined frame.
@ TEMP
Temporary or auxiliary frame.
@ LIDAR
LIDAR sensor frame.
@ CAMERA
Camera sensor frame.
@ BASE
Robot or vehicle base frame (body frame)