Contenuto principale

roadrunner.hdmap.MarkingReference

R2026b

Defines the information for linking lane boundary and lane marking in RoadRunner HD Map

Since R2022b

    Description

    A roadrunner.hdmap.MarkingReference object enables you to define the information for linking lane boundary and lane marking in a RoadRunner HD Map scene model.

    Creation

    Description

    mrkref = roadrunner.hdmap.MarkingReference() creates an empty marking reference.

    mrkref = roadrunner.hdmap.MarkingReference(Name=Value) sets the properties of the marking reference using name-value pairs.

    example

    Properties

    expand all

    ID of the lane marking element, specified as a roadrunner.hdmap.Reference (RoadRunner) object.

    Set flip marking orientation, specified as logical 0 (false) or logical 1 (true). Set this field to logical 1 (true) to flip the order of the lane marking stripes.

    Examples

    collapse all

    Create an reference for a marking asset.

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

    Create a marking reference for the marking to link the lane boundary and the lane marking.

    mrkref = roadrunner.hdmap.MarkingReference(MarkingID=ref,FlipLaterally=true)
    mrkref = 
      MarkingReference with properties:
    
            MarkingID: [1×1 roadrunner.hdmap.Reference]
        FlipLaterally: 1
    
    

    Version History

    Introduced in R2022b