SUMO
Simulation of Urban MObility

- Home
- Download
- Documentation
- Wiki
- Trac
- Blog
- Contact
- SF-Project

# TraCI/Vehicle Signalling

A vehicle's signals are encoded in an integer, each by one bit, encoding whether the according signal/... is on or off. Please note that this information are rather meant for used by an external application. Only "VEH_SIGNAL_BRAKELIGHT" has a meaning for the simulation, but will be overwritten by the simulation in each time step. Also, "VEH_SIGNAL_BLINKER_RIGHT" and "VEH_SIGNAL_BLINKER_LEFT" are reset by the simulation, so setting them will be not visible in the gui.

The following table shows the defined signals.

Name | Bit
VEH_SIGNAL_BLINKER_RIGHT | 0
VEH_SIGNAL_BLINKER_LEFT | 1
VEH_SIGNAL_BLINKER_EMERGENCY | 2
VEH_SIGNAL_BRAKELIGHT | 3
VEH_SIGNAL_FRONTLIGHT | 4
VEH_SIGNAL_FOGLIGHT | 5
VEH_SIGNAL_HIGHBEAM | 6
VEH_SIGNAL_BACKDRIVE | 7
VEH_SIGNAL_WIPER | 8
VEH_SIGNAL_DOOR_OPEN_LEFT | 9
VEH_SIGNAL_DOOR_OPEN_RIGHT | 10
VEH_SIGNAL_EMERGENCY_BLUE | 11
VEH_SIGNAL_EMERGENCY_RED | 12
VEH_SIGNAL_EMERGENCY_YELLOW | 13

See also:

- Vehicle Value Retrieval
- Change Vehicle State

This page was last modified on 7 October 2010, at 10:11.