此场景需要使用地图Town01

时间:2019-07-15 20:25:54

标签: c++ ubuntu-16.04 carla

我正在使用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

1 个答案:

答案 0 :(得分:0)

-reloadWorld标志修复了它!

python scenario_runner.py --openscenario srunner/configs/FollowLeadingVehicle.xosc --reloadWorld