Main Content

roadrunner.hdmap.SpeedLimitReference

Define information for lane speed limit element in RoadRunner HD Map using MATLAB

Since R2024b

    Description

    A roadrunner.hdmap.SpeedLimitReference object enables you to define the information for lane speed limit element in a RoadRunner HD Map scene model.

    Creation

    Description

    splref = roadrunner.hdmap.SpeedLimitReference creates an empty lane speed limit reference.

    splref = roadrunner.hdmap.SpeedLimitReference(SpeedLimitID=id) sets the SpeedLimitID property of the lane speed limit reference to the specified roadrunner.hdmap.Reference object id.

    example

    Properties

    expand all

    ID of the lane speed limit element, specified as a roadrunner.hdmap.Reference object.

    Examples

    collapse all

    Create a reference to a speed limit asset.

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

    Create a speed limit reference for the speed limit asset.

    splref = roadrunner.hdmap.SpeedLimitReference(SpeedLimitID=ref)
    splref = 
      SpeedLimitReference with properties:
    
        SpeedLimitID: [1x1 roadrunner.hdmap.Reference]
    
    

    Version History

    Introduced in R2024b