Commit e71ddaac authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Added a service to set the car lights.

Added an OFF option to the set_semaphore service.
parent 5e541918
......@@ -62,6 +62,7 @@ add_service_files(
FILES
get_opendrive_map.srv
set_semaphore.srv
set_car_lights.srv
# Service1.srv
# Service2.srv
)
......
uint8 CAR_OFF = 0
uint8 CAR_NORMAL_DRIVE = 1
uint8 CAR_BRAKE = 2
uint8 CAR_TURN_LEFT = 3
uint8 CAR_TURN_RIGHT = 4
uint8 CAR_PARKED = 5
uint8 CAR_EMERGENCY = 6
uint8 CAR_AMBULANCE = 7
uint8 CAR_CHARGING = 8
uint8 lights
---
uint8 SEM_RED = 0
uint8 SEM_GREEN = 1
uint8 SEM_ORANGE_BLINK = 2
uint8 SEM_OFF = 0
uint8 SEM_RED = 1
uint8 SEM_GREEN = 2
uint8 SEM_ORANGE_BLINK = 3
uint8 color
---
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment