roadrunner.hdmap.BulbState
R2026bDescription
A roadrunner.hdmap.BulbState defines the state of a signal bulb
in a RoadRunner HD Map scene model. A BulbState object describes the
operating state of a bulb at a specific time instance, such as "On",
"Off", or "Blinking". Use this object to associate a
signal bulb with its operating state as part of a signal configuration. For an example of how
to create a complete T-junction with roads, maneuver lanes, and traffic signal phases that
includes bulb-level signal control, see Build Signalized Junction Using RoadRunner HD Map.
Creation
Syntax
Description
creates an empty bulb state.bulbState = roadrunner.hdmap.BulbState
sets one or more properties of the bulb state using name-value arguments. For example,
bulbState = roadrunner.hdmap.BulbState(PropertyName=Value)State="On" specifies the state of the bulb as
"On".
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