1

我正在使用 Ubuntu16.04、CARLA 0.9.6 和 Scenario Manager 0.9.6。我已经打开了一个问题:https ://github.com/carla-simulator/carla/issues/1888

./CarlaUE4.sh /Game/Carla/Maps/Town01 -windowed -ResX=320 -ResY=240 -benchmark -fps=10
4.22.1-0+++UE4+Release-4.22 517 0
Disabling core dumps.

我收到错误消息:

python scenario_runner.py --openscenario srunner/configs/FollowLeadingVehicle.xosc 
The CARLA server uses the wrong map!
This scenario requires to use map Town01

我究竟做错了什么?Manuel_control.py 在生成一些车辆后确实可以工作。


1)类似的线程:https ://github.com/carla-simulator/carla/issues/1700有不同的路径吗?

2)

export CARLA_ROOT=/home/user/Documents/prec_CARLA_0.9.6
export CARLA_SERVER=/home/user/Documents/prec_CARLA_0.9.6/CarlaUE4.sh
export ROOT_SCENARIO_RUNNER=/home/user/Documents/scenario_runner

$PYTHONPATH
 /opt/ros/kinetic/lib/python2.7/dist-packages:/home/user/Documents/prec_CARLA_0.9.6/PythonAPI/carla/:/home/user/Documents/prec_CARLA_0.9.6/PythonAPI/carla/agents/:/home/user/Documents/scenario_runner:/home/user/carla-ros-bridge/catkin_ws/devel/lib/python2.7/dist-packages:/home/user/Documents/prec_CARLA_0.9.6/PythonAPI/carla/dist/carla-0.9.6-py2.7-linux-x86_64.egg
4

1 回答 1

1

标志 --reloadWorld 修复了它!

python scenario_runner.py --openscenario srunner/configs/FollowLeadingVehicle.xosc --reloadWorld
于 2019-07-16T17:07:34.890 回答