How to make the vehicle recognize and follow the changes of the traffic lights and move autonomously in Scenario Editing mode?

1 visualización (últimos 30 días)
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.

Respuesta aceptada

Sathvik
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!
  1 comentario
伟麟
伟麟 el 8 de En. de 2024
Sincerely thanks to your help! I will follow its update and see whether my requirement can be satisfied in future releases. Hope you have a good day! Thanks again!

Iniciar sesión para comentar.

Más respuestas (0)

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by