ubuntu20.04安装运行carla0.9.13问题

1、./CarlaUE4.sh启动失败

报错1:INTEL-MESA: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

解决办法

sudo sysctl dev.i915.perf_stream_paranoid=0

报错2

现象

X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  149 ()
  Minor opcode of failed request:  4
  Resource id in failed request:  0x4600041
  Serial number of failed request:  388
  Current serial number in output stream:  399
terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
Signal 6 caught.
Segmentation fault (core dumped)

解决办法

./CarlaUE4.sh -prefernvidia

2、ros-bridge启动失败

报错1:/usr/bin/env: ‘python’: No such file or directory

解决办法

sudo ln -s /usr/bin/python3 /usr/bin/python

报错2:CARLA python module version 0.9.12 required. Found: 0.9.13

解决办法:修改 ~/carla-ros-bridge/catkin_ws/src/ros-bridge/carla_ros_bridge/src/carla_ros_bridge目录下的 CARLA_VERSION 文件内容,修改为 0.9.13

你可能感兴趣的:(自动驾驶)