Failure of RoadRunner and CARLA co-simulation
조회 수: 5 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Sugandhi
2024년 9월 12일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Programmatic Scene and Scenario Management에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!