Main Content

roadrunner.hdmap.SignalReference

Define information for signal element in RoadRunner HD Map using MATLAB

Since R2025a

    Description

    A roadrunner.hdmap.SignalReference object enables you to define the information for a signal element in a RoadRunner HD Map scene model.

    Creation

    Description

    signalref = roadrunner.hdmap.SignalReference creates an empty lane speed limit reference.

    signalref = roadrunner.hdmap.SignalReference(PropertyName=Value) sets properties of the signal reference using one or more name-value arguments. For example, SignalID=ref sets the SignalID property of the signal reference to the specified roadrunner.hdmap.Reference object ref.

    example

    Properties

    expand all

    ID of the signal element, specified as a roadrunner.hdmap.Reference object.

    Examples

    collapse all

    Create a reference to a signal asset.

    ref = roadrunner.hdmap.Reference(ID="Signal1")
    ref = 
      Reference with properties:
    
        ID: "Signal1"
    
    

    Create a signal reference for the signal asset.

    signalref = roadrunner.hdmap.SignalReference(SignalID=ref)
    signalref = 
      SignalReference with properties:
    
        SignalID: [1×1 roadrunner.hdmap.Reference]
    
    

    Version History

    Introduced in R2025a