How to make the vehicle recognize and follow the changes of the traffic lights and move autonomously in Scenario Editing mode?
1 view (last 30 days)
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.
0 Comments
Accepted Answer
Sathvik
on 8 Jan 2024
Hi,
I understand that you want to add vehicles in the RoadRunner Scenario that follows traffic lights.
In RoadRunner Scenario, you can control vehicles by using either waypoints or the Logic Editor. According to the documentation and release notes for RoadRunner Scenario, vehicles cannot synchronize with the traffic lights.
Please have a look at the Release Notes for RoadRunner Scenario in future releases if this is updated.
Hope this helps!
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!