Home | Tutorials | Wiki | Issues
Ask Your Question
0

Gazebo crashes when selecting robot model

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

JoelB gravatar image

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

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

UPDATE:

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

Comments

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 -0600 )edit

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

JoelB gravatar imageJoelB ( 2020-01-08 12:20:53 -0600 )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 -0600 )edit

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

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

1 Answer

Sort by ยป oldest newest most voted
0

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

chapulina gravatar image

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

https://bitbucket.org/osrf/gazebo/pul...

You could try upgrading to a later Gazebo 9 version following these instructions: http://gazebosim.org/tutorials?tut=in...

edit flag offensive delete link more

Comments

Do i need to uninstall Gazebo in order to upgrade?

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

Never mind, got it working. Thanks!

JoelB gravatar imageJoelB ( 2020-01-11 15:05:48 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

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

Seen: 108 times

Last updated: Jan 10