主要内容

roadrunner.hdmap.JunctionConfiguration

Configure signal phases at junction in RoadRunner HD Map using MATLAB

Since R2025a

    Description

    A roadrunner.hdmap.JunctionConfiguration object enables you to configure signal phases at a junction in a RoadRunner HD Map scene model. Multiple configurations enable a junction to have various phase presets, such as all signals blinking red or a split phase setup. Simulators can dynamically switch or select between these presets.

    Creation

    Description

    junctionConfiguration = roadrunner.hdmap.JunctionConfiguration creates an empty lane junction.

    junctionConfiguration = roadrunner.hdmap.JunctionConfiguration(PropertyName=Value) sets the properties of the junction using one or more name-value arguments. For example, ID="Junction1" sets the ID of the junction configuration element to "Junction1".

    example

    Properties

    expand all

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

    Data Types: char | string

    Name of the junction configuration element, specified as a character vector or string scalar.

    Data Types: char | string

    Phases associated with the junction configuration, specified as an array of roadrunner.hdmap.Phase objects.

    Examples

    collapse all

    Configure a signal phase at a junction by using a roadrunner.hdmap.JunctionConfiguration object. Specify the ID of the junction configuration element.

    junctionConfiguration = roadrunner.hdmap.JunctionConfiguration(ID="Configuration1")
    junctionConfiguration = 
      JunctionConfiguration with properties:
    
            ID: "Configuration1"
          Name: ""
        Phases: [0×1 roadrunner.hdmap.Phase]
    
    

    Version History

    Introduced in R2025a