Auto Signalize support for Left Hand Side driving

The Signal tool has a very useful Auto Signalize feature allowing you to automatically add and setup traffic lights at a junction. However, only Right Hand Side driving is supported as you can see by the last two options: 4 Way Protected Left and 4 Way Permitted Left. When designing maps for Left Hand Side driving environments all the Signal Lights need to be manually edited to inverse their internal setup. This is extremely tedious and error prone.
Is there a way to automate this process? Are there any plans to add LHS support to the Auto-Signalize feature?

 Accepted Answer

Hello K,
As of R2024a, the 'Signal Tool' in RoadRunner does not support the 'Auto Signalize' feature for Left-Hand Drive scenarios. However, you can use the following workflow to create left-hand drive scenes from existing right-hand drive scenes as a workaround:
  1. Select the "Lane" tool and reverse the lane direction of each lane.
  2. Export the scene to OpenDRIVE with the Driving Side set to Right. You can refer to the following documentation for more information on this step: MathWorks Documentation.
  3. Load the newly created scene into RoadRunner.
  4. Manually fix any incorrect props in the scene.
If a junction is properly signalized, the light phases should adjust automatically. However, the physical position of the lights may remain unchanged. You can select a junction using the "Junction" tool and re-signalize it with the "Automatically Place Selected Prop" option enabled.
For further details, please refer to the following documentation:
  • This MATLAB Answers post by the MathWorks staff details the workaround for left-hand drive: MATLAB Answers.
  • Refer to this guide to understand how to import ASAM OpenDRIVE files into RoadRunner: Importing OpenDRIVE Files.
I hope you find the above explanation and suggestions useful!

3 Comments

Thank you for the answer and the provided workaround. Are there any plans to add official support for Left-Hand Side driving? Even with the workaround, it's still a lot of manual work which has potential to introduce errors and requires each junction to be verified.
I can't comment on any planned support. A MathWorks employee or the MathWorks Support Team would be a credible source for such information. The workaround is tedious. You can reach out to the Support Team to express the need for support of Left-Hand driving for Auto Signalize.
@K if you found the answer to be helpful, kindly accept it.

Sign in to comment.

More Answers (0)

Products

Release

R2024a

Asked:

K
K
on 6 Aug 2024

Commented:

on 8 Aug 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!