Gazebo crashing after update!

asked 2019-01-10 09:00:36 -0600

federico.nardi gravatar image

updated 2019-01-10 12:47:35 -0600

Carlos Agüero gravatar image

Hi all,

I was running the default versions of ROS kinetic and Gazebo 7 that can be installed on Ubuntu 16.04, but I was experiencing an annoying problem: I could not run together gazebo and RViz, because as soon as I was launching RViz, gazebo crashed.

A friend of mine told me that uploading to gazebo 7.14.0 solved the problem.

So I run these commands:

sudo apt remove gazebo7*
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
sudo apt update 
sudo apt install gazebo7*
sudo apt install ros-kinetic-gazebo-*
sudo apt install libgazebo7-dev

the gazebo package is now at version 7.14.0, but if I try to launch this file:

https://github.com/schizzz8/lucrezio_...

It segfaults:

dede@dede-P35V2:~$ roslaunch lucrezio_simulation_environments empty_world_with_apartment_and_robot.launch 
... logging to /home/dede/.ros/log/edc35106-14e8-11e9-85ef-f816547d9e84/roslaunch-dede-P35V2-24677.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

xacro: Traditional processing is deprecated. Switch to --inorder processing!
To check for compatibility of your document, use option --check-order.
For more infos, see http://wiki.ros.org/xacro#Processing_Order
xacro.py is deprecated; please use xacro instead
started roslaunch server http://dede-P35V2:43529/

SUMMARY
========

PARAMETERS
 * /lucrezio/angular/z/has_acceleration_limits: True
 * /lucrezio/angular/z/has_velocity_limits: True
 * /lucrezio/angular/z/max_acceleration: 6.0
 * /lucrezio/angular/z/max_velocity: 2.0
 * /lucrezio/base_frame_id: base_footprint
 * /lucrezio/left_wheel: left_wheel_joint
 * /lucrezio/linear/x/has_acceleration_limits: True
 * /lucrezio/linear/x/has_velocity_limits: True
 * /lucrezio/linear/x/max_acceleration: 1.0
 * /lucrezio/linear/x/max_velocity: 0.7
 * /lucrezio/pose_covariance_diagonal: [0.001, 0.001, 0....
 * /lucrezio/publish_rate: 50
 * /lucrezio/right_wheel: right_wheel_joint
 * /lucrezio/twist_covariance_diagonal: [0.001, 0.001, 0....
 * /lucrezio/type: diff_drive_contro...
 * /lucrezio/wheel_separation: 0.2
 * /object_groups/livingroom: ['sink', 'burner_...
 * /objects/burner_stove/model: burner_stove
 * /objects/burner_stove/model_type: sdf
 * /objects/burner_stove/orientation: [0.0, 0.0, 0]
 * /objects/burner_stove/position: [2.868422, 2.2050...
 * /objects/cabinet_ikea_malm_big/model: cabinet_ikea_malm...
 * /objects/cabinet_ikea_malm_big/model_type: sdf
 * /objects/cabinet_ikea_malm_big/orientation: [0.0, 0.0, -3.14]
 * /objects/cabinet_ikea_malm_big/position: [-2.338829, 2.341...
 * /objects/chair_ikea_borje/model: chair_ikea_borje
 * /objects/chair_ikea_borje/model_type: sdf
 * /objects/chair_ikea_borje/orientation: [0.0, 0.0, 0.0]
 * /objects/chair_ikea_borje/position: [1.96993, 0.0, 0.0]
 * /objects/couch/model: couch
 * /objects/couch/model_type: sdf
 * /objects/couch/orientation: [0.0, 0.0, -1.57]
 * /objects/couch/position: [-1.171137, -0.05...
 * /objects/milk/model: milk
 * /objects/milk/model_type: sdf
 * /objects/milk/orientation: [0.0, 0.0, 0.0]
 * /objects/milk/position: [1.970516, -1.276...
 * /objects/salt/model: salt
 * /objects/salt/model_type: sdf
 * /objects/salt/orientation: [0.0, 0.0, 0.0]
 * /objects/salt/position: [-2.48682, 2.2044...
 * /objects/sink/model: sink
 * /objects/sink/model_type: sdf
 * /objects/sink/orientation: [0.0, 0.0, 0]
 * /objects/sink/position: [1.5323, 2.204468...
 * /objects/table_ikea_bjursta/model: table_ikea_bjursta
 * /objects/table_ikea_bjursta/model_type: sdf
 * /objects/table_ikea_bjursta/orientation: [0.0, 0.0, 0.0]
 * /objects/table_ikea_bjursta/position: [1.77236080355, -...
 * /objects/table_tv ...
(more)
edit retag flag offensive close merge delete

Comments

Just double-check that you still have the controller-manager package installed after removing Gazebo.

Carlos Agüero gravatar imageCarlos Agüero ( 2019-01-10 12:47:13 -0600 )edit