此方案需要使用地图城镇 01



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

标志 --reloadWorld 修复了它!

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

相关内容

  • 没有找到相关文章

最新更新