Galaxis Codebase  1.0.0
Team Galaxis software stack for the Carolo Cup 2023 - ROS2 based software
Light.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 /*
4  * The different types of lights that are
5  * attached to the car and are controllable
6  * by software.
7  */
8 enum LightType {
9  HEADLIGHT = 0,
10  BRAKES = 1,
14 };
15 
16 /*
17  * The different light modes that can be
18  * set for every light.
19  * The park mode is required to indicate a successful
20  * parking maneuver.
21  */
22 enum LightState {
23  OFF = 0,
24  STEADY = 1,
25  FLASH = 2,
26  INFER = 3
27 };
LightState
LightState
Definition: Light.hpp:22
OFF
@ OFF
Definition: Light.hpp:23
BLINKER_RIGHT
@ BLINKER_RIGHT
Definition: Light.hpp:13
STEADY
@ STEADY
Definition: Light.hpp:24
LightType
LightType
Definition: Light.hpp:8
BRAKES
@ BRAKES
Definition: Light.hpp:10
FLASH
@ FLASH
Definition: Light.hpp:25
REMOTE_CONTROL
@ REMOTE_CONTROL
Definition: Light.hpp:11
INFER
@ INFER
Definition: Light.hpp:26
BLINKER_LEFT
@ BLINKER_LEFT
Definition: Light.hpp:12
HEADLIGHT
@ HEADLIGHT
Definition: Light.hpp:9