Borrar filtros
Borrar filtros

How can I integrate Simulink logic with RoadRunner for Traffic Light Negotiation?

5 visualizaciones (últimos 30 días)
Hey guys,
I was wondering if anyone could provide advice and resources for setting up Traffic Light control and negotiation for RoadRunner scenarios using Simulink? I wasn't aware until recently that the built-in RoadRunner lights are cosmetic only and don't have any logic/functionality the actors cars will obey. I have opened Simulink and looked through some of the functionality, but I'm unsure on exactly what signals and info needs to be read from and passed back to RoadRunner. Any help is appreciated

Respuestas (1)

Anurag
Anurag el 13 de Dic. de 2023
Hi Noa,
I understand that you need assistance in setting up Traffic Light control and negotiation for RoadRunner scenarios using Simulink.
Please follow the steps below to be able to do the same:
  • Understand and create a logic system in Simulink that mimics the behaviour of real traffic lights.
  • Integrate Simulink with RoadRunner to both read signals from the environment and send control signals back to RoadRunner, this involves using Simulink’s input/output blocks to interface with RoadRunner.
  • Refer to the following video for setting up the integration : https://www.mathworks.com/videos/integrating-roadrunner-with-matlab-simulink-1608193412399.html
  • Define the behaviour of the actors' cars in response to the traffic lights. This might involve creating a simple decision-making system for the cars to stop, slow down, or proceed based on the state of the traffic lights.
Resources and documentations:
By following these steps and utilizing the available resources, you should be able to set up Traffic Light control and negotiation for RoadRunner scenarios using Simulink. Good luck!

Categorías

Más información sobre RF Blockset Models for Transceivers en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by