roadrunner.hdmap.SignalStateReference
R2026bDescription
A roadrunner.hdmap.SignalStateReference references a signal
head and its associated state in a signal phase within a RoadRunner HD Map scene model. A
SignalStateReference object links a specific signal type to one of its
defined signal states, establishing which bulb configuration a particular signal head displays
during a phase interval. Use this object within phase definitions to coordinate multiple
signal heads at a junction. 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 reference.signalStateRef = roadrunner.hdmap.SignalStateReference
sets one or more properties of the signal state reference using name-value arguments. For
example, signalStateRef = roadrunner.hdmap.SignalStateReference(PropertyName=Value)SignalTypeRef=roadrunner.hdmap.Reference(ID="SignalWest")
specifies for the reference to point to a signal type with ID
"SignalWest".
Properties
Examples
Limitations
RoadRunner does not import or apply phase to signal state mapping information defined in RoadRunner HD Map files when you load them into a RoadRunner scene.
Version History
Introduced in R2026b