[gazebo-3] process has died // core dumped
Hello,
i try to start the erlecopter example in Gazebo from Erle Robotics for Q-Learning. But i faced some Problems and tried to spawn the Copter in the right Environment, first i start my conda Environment and after that i start roscore, then i open a new Terminal with the same conda Environment and source my catkin workspace, after that i put in the command:
roslaunch ardupilot_sitl_gazebo_plugin erlecopter_spawn.launch
Gazebo started correctly with the Quadcopter in it but the Terminal put out an Error:
[libprotobuf FATAL google/protobuf/stubs/common.cc:67] This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 3.0.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/tmp/build/80754af9/opencv-suite_1535558553474/work/modules/dnn/misc/caffe/opencv-caffe.pb.cc".)
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 3.0.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/tmp/build/80754af9/opencv-suite_1535558553474/work/modules/dnn/misc/caffe/opencv-caffe.pb.cc".)
Aborted (core dumped)
[gazebo-3] process has died [pid 4184, exit code 134, cmd /home/stephan/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/gzserver -u -e ode /home/stephan/catkin_ws/src/ardupilot_sitl_gazebo_plugin/ardupilot_sitl_gazebo_plugin/worlds/empty_world/empty.world __name:=gazebo __log:=/home/stephan/.ros/log/2845833a-69a3-11e9-9559-50e54953a336/gazebo-3.log].
log file: /home/stephan/.ros/log/2845833a-69a3-11e9-9559-50e54953a336/gazebo-3*.log
Because the error message says "core dumped" and in the empty.world file the physics is set with ode, i suspect that something is wrong with my graphic-driver... again.
I'm also not sure why i got this libprotobuf FATAL message, i already updates it to 3.6.1 and can see this version with the command: conda list
I have to say that this example from Erle Robotics is out of date, its for Ubuntu 14.04 with ROS Indigo and i changed a few things to compile it, cause i work with Ubuntu 18.04 and ROS Melodic.
I dont want to spam this Thread unnecessary long, if u want more Informations or Logs please tell me.
I'm grateful for every tip.
Do you have a self compiled version of Gazebo or protobuf? I had this problems before because I ended up to have two versions of protobuf on my machine and gazebo was linking to the wrong one.