This package is a Gazebo plugin to control the state of a single sempahores in the model car simulator. This package is part of the model car simulator used for the [ADC competition](http://autonomousdrivingchallenge.com/"ADC competition").
This package in intended to be used with ROS Kinetic under Linux Ubuntu 16.04, although it may work with other ROS versions and Linux variations.
But it is recommended to follow the [instructions on how to install the model simulator](https://gitlab.iri.upc.edu/seat_adc/simulator/model_car_gazebo).
## running
Each semaphore will provide a service call to change its state. The namespace of the service call depend on the name given to the semaphore. The default model cal simulator provides the following services:
* /semaphore_intersection1_color_plugin/trigger
* /semaphore_intersection2_color_plugin/trigger
* /semaphore_intersection3_color_plugin/trigger
* /semaphore_parking1_color_plugin/trigger
* /semaphore_parking2_color_plugin/trigger
* /semaphore_roundabout1_color_plugin/trigger
* /semaphore_roundabout2_color_plugin/trigger
* /semaphore_start1_color_plugin/trigger
* /semaphore_start2_color_plugin/trigger
To change the state of any of these semaphores, call the corresponding service: