roadrunner.hdmap.SignalState
R2026bDescription
A roadrunner.hdmap.SignalState object defines the state of a
traffic signal head in a RoadRunner HD Map scene model. A SignalState object represents a named
configuration of bulb states for a traffic signal head. Use this object to group multiple bulb
states that together define how a signal head appears during a traffic signal phase. For an
example of how to create a complete T-junction with roads, maneuver lanes, and traffic signal
phases that include bulb-level signal control, see Build Signalized Junction Using RoadRunner HD Map.
Creation
Syntax
Description
creates an empty signal state.signalState = roadrunner.hdmap.SignalState
sets one or more properties of the signal state using name-value arguments. For
example,signalState = roadrunner.hdmap.SignalState(PropertyName=Value) ID="Red" specifies the ID of the signal state as
"Red".
Properties
Examples
Limitations
RoadRunner does not import, visualize, or apply traffic signal bulb state information defined in RoadRunner HD Map files when you load them into a RoadRunner scene.
Version History
Introduced in R2026b