How to make the vehicle recognize and follow the changes of the traffic lights and move autonomously in Scenario Editing mode?
Show older comments
I have created the crossroad section in the scene editing mode. This scene includes lanes, maneuvers of each lane, traffic lights, etc. I have already finished setting the signal phases and maneuver signalization using the signal tool. The scene is shown in the following figure.

What I want to do is to let the vehicles added to the scene in the scenario editing mode to move autonomously by recognizing and following changes of the traffic lights. For example, if the color of the traffic light that control the stop/go action of the left-turn lane is red, the vehicle on this lane recognizes it and starts to decelerate and then stop in front of the stopline. Then, if the signal turns green, the vehicle starts to accelerate and drives pass the stopline.
However, I found that the RoadRunner Scenario Editing mode could not achieve this function because the vehicles added to the scene could only move by giving them exact operations such as changing lane, changing speed, changing lateral offset, etc. I can't find a place where shows a possible connection between the vehicles and traffic lights.
Anyone who can tell me what to do? I highly appreciate it.
Accepted Answer
More Answers (0)
Categories
Find more on Simulink 3D Animation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!