How to make the vehicle recognize and follow the changes of the traffic lights and move autonomously in Scenario Editing mode?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1582316/image.png)
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 comentarios
Respuesta aceptada
Sathvik
el 8 de En. de 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!
Más respuestas (0)
Ver también
Categorías
Más información sobre Automated Driving Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!