Gazebo | Ignition | Community
Ask Your Question

Gazebo crashes when selecting robot model

asked 2020-01-06 12:59:35 -0500

JoelB gravatar image

updated 2020-01-10 15:54:33 -0500

I am trying to create a robot to simulate ros code in Gazebo, but whenever I load it into gazebo and click on it, Gazebo crashes. After viewing rqt_graph, I can see that only the gui crashes. I commented out most of my robot so all that remains is a box, so I don't think it's the model. The gui also doesn't produce a log. I've tried this on another machine and the same thing happens. I am running gazebo 9 installed with ros melodic using an Ubuntu Virtualbox. I am launching gazebo with a launch file.

image description


I have reduced the model down to the chassis. This is the model if it helps.

image description

edit retag flag offensive close merge delete


Can you try launching with extra_gazebo_args:="--verbose" to see if any helpful messages are printed?

chapulina gravatar imagechapulina ( 2020-01-08 12:13:45 -0500 )edit

All it mentions is the ogre error found above the red in the image.

JoelB gravatar imageJoelB ( 2020-01-08 12:20:53 -0500 )edit

I've seen that Ogre error when some link dimensions are zero. Could you check your robot's spec? Also, which Gazebo 9 minor version are you using?

chapulina gravatar imagechapulina ( 2020-01-08 12:32:29 -0500 )edit

I'm using 9.0.0, and link dimensions are all positive.

JoelB gravatar imageJoelB ( 2020-01-08 13:06:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-01-10 16:36:19 -0500

chapulina gravatar image

I suspect you may be running into an issue that was fixed by this PR:

You could try upgrading to a later Gazebo 9 version following these instructions:

edit flag offensive delete link more


Do i need to uninstall Gazebo in order to upgrade?

JoelB gravatar imageJoelB ( 2020-01-11 12:13:28 -0500 )edit

Never mind, got it working. Thanks!

JoelB gravatar imageJoelB ( 2020-01-11 15:05:48 -0500 )edit

Hi! I'm stuck at the same issue. How did you get it working?

Atal gravatar imageAtal ( 2020-05-03 12:22:02 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-01-06 12:50:14 -0500

Seen: 526 times

Last updated: Jan 10 '20