Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mobile_robotics
ADC
ADC_2021
iri_adc_msgs
Commits
e71ddaac
Commit
e71ddaac
authored
Oct 19, 2021
by
Sergi Hernandez
Browse files
Added a service to set the car lights.
Added an OFF option to the set_semaphore service.
parent
5e541918
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
e71ddaac
...
@@ -62,6 +62,7 @@ add_service_files(
...
@@ -62,6 +62,7 @@ add_service_files(
FILES
FILES
get_opendrive_map.srv
get_opendrive_map.srv
set_semaphore.srv
set_semaphore.srv
set_car_lights.srv
# Service1.srv
# Service1.srv
# Service2.srv
# Service2.srv
)
)
...
...
srv/set_car_lights.srv
0 → 100644
View file @
e71ddaac
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
---
srv/set_semaphore.srv
View file @
e71ddaac
uint8 SEM_RED = 0
uint8 SEM_OFF = 0
uint8 SEM_GREEN = 1
uint8 SEM_RED = 1
uint8 SEM_ORANGE_BLINK = 2
uint8 SEM_GREEN = 2
uint8 SEM_ORANGE_BLINK = 3
uint8 color
uint8 color
---
---
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment