Main Content

roadrunner.hdmap.Sign

Create signs in RoadRunner HD Map using MATLAB

Since R2022b

    Description

    A roadrunner.hdmap.Sign object enables you to define the road sign objects in a RoadRunner HD Map scene model.

    Creation

    Description

    aSign = roadrunner.hdmap.Sign() creates an empty sign.

    example

    aSign = roadrunner.hdmap.Sign(Name=Value) sets the properties of the sign using name-value pairs.

    Properties

    expand all

    ID of the sign element, specified as a character vector or string scalar.

    Example: rrMap.Signs= roadrunner.hdmap.Sign(ID="Sign1") creates a sign with id Sign1 in a RoadRunner HD Map.

    Data Types: char | string

    Geometry of the 3D stationary object representing the sign, specified as a three element vector, with double precision values. Sign is represented as an oriented bounding box.

    Data Types: double

    Type of sign, specified as a roadrunner.hdmap.Reference (RoadRunner) object.

    Examples

    collapse all

    Create an empty RoadRunner HD Map by calling the roadrunnerHDMap object.

    rrMap = roadrunnerHDMap()
    rrMap = 
      roadrunnerHDMap with properties:
    
                    Author: ""
                Projection: ""
        GeographicBoundary: [0×3 double]
                     Lanes: [0×1 roadrunner.hdmap.Lane]
            LaneBoundaries: [0×1 roadrunner.hdmap.LaneBoundary]
                LaneGroups: [0×1 roadrunner.hdmap.LaneGroup]
              LaneMarkings: [0×1 roadrunner.hdmap.LaneMarking]
                 Junctions: [0×1 roadrunner.hdmap.Junction]
              BarrierTypes: [0×1 roadrunner.hdmap.BarrierType]
                  Barriers: [0×1 roadrunner.hdmap.Barrier]
                 SignTypes: [0×1 roadrunner.hdmap.SignType]
                     Signs: [0×1 roadrunner.hdmap.Sign]
    
    

    Create the sign using the roadrunner.hdmap.Sign object. Specify the sign information for the sign id.

    rrMap.Signs = roadrunner.hdmap.Sign(ID="Sign1")
    rrMap = 
      roadrunnerHDMap with properties:
    
                    Author: ""
                Projection: ""
        GeographicBoundary: [0×3 double]
                     Lanes: [0×1 roadrunner.hdmap.Lane]
            LaneBoundaries: [0×1 roadrunner.hdmap.LaneBoundary]
                LaneGroups: [0×1 roadrunner.hdmap.LaneGroup]
              LaneMarkings: [0×1 roadrunner.hdmap.LaneMarking]
                 Junctions: [0×1 roadrunner.hdmap.Junction]
              BarrierTypes: [0×1 roadrunner.hdmap.BarrierType]
                  Barriers: [0×1 roadrunner.hdmap.Barrier]
                 SignTypes: [0×1 roadrunner.hdmap.SignType]
                     Signs: [1×1 roadrunner.hdmap.Sign]
    
    

    Version History

    Introduced in R2022b