Failure of RoadRunner and CARLA co-simulation
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have purchased a new computer and want to run a simulation using RoadRunner and CARLA.
I have installed Carla, Unreal Engine 4, and RoadRunner.
I have run the “Run a RoadRunner Scenario Co-simulation with CARLA Visualization” on the site [1].
[1]https://jp.mathworks.com/help/roadrunner-scenario/ug/run-roadrunner-scenario-and-carla-cosimulations.html
Then the following error appears in the RoadRunner output and the simulation with CARLA does not start.
> -------------------- Simulation STARTED --------------------
> WARNING: Unable to locate a simulator for actor behavior '{b63406a3-fd5d-409e-8026-d5af7017d251}', applying RoadRunner default behavior to this actor.
Invalid actor behavior:.
- Behavior asset: Assets/Behaviors/CARLA.rrbehavior
- Platform type: External
- Platform name: CARLA
The following simulation clients are active:
- {3aeba7e8-97af-4a44-aef4-919779dbfbce}: RoadRunner
Try updating the MATLAB and CARLA paths in C:/Users/im_admin/AppData/Roaming/MathWorks/RoadRunner/R2024a/Scenario/Config/ SimulationConfiguration.xml
> (id: CARLA Bridge ) : CARLA Bridge: Connected to CARLA at localhost:2000.
The command prompt is as follows.
No module named 'carla'.
Attempting to add C:/carla/Build/UE4Carla/91c2e42-dirty/WindowsNoEditor/PythonAPI/carla/dist\carla-0.9.14-py3.8-win-amd64.egg to system path.
Connecting to Scenario Simulation Engine ...
Registered Scenario Simulation Engine Client successfully
Done.
Updating the MATLAB and CARLA paths in SimulationConfiguration.xml does not fix this error.
What should I do?
Environment:
Windows 10
Carla 0.9.14
RoadRunner 2024a
Unreal Engine 4.26
0 comentarios
Respuestas (1)
Sugandhi
el 12 de Sept. de 2024
Try possible workaround to resolve the error with RoadRunner and CARLA:
1.Ensure required version of Python is installed.
2. Make sure the PYTHONPATH environment variable includes the path to the CARLA Python API
3. Ensure that the paths to MATLAB and CARLA in the SimulationConfiguration.xml file are correct and point to the respective installation directories.
4. Ensure the CARLA server is running before starting the simulation.
If the issue persists, check for network/firewall restrictions.
0 comentarios
Ver también
Categorías
Más información sobre Programmatic Scene and Scenario Management 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!