Gazebo crashes when selecting robot model
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.
UPDATE:
I have reduced the model down to the chassis. This is the model if it helps.
Asked by JoelB on 2020-01-06 13:50:14 UTC
Answers
I suspect you may be running into an issue that was fixed by this PR:
https://bitbucket.org/osrf/gazebo/pull-requests/3033/fix-model-bounding-box/diff
You could try upgrading to a later Gazebo 9 version following these instructions: http://gazebosim.org/tutorials?tut=install_ubuntu&cat=install
Asked by chapulina on 2020-01-10 17:36:19 UTC
Comments
Do i need to uninstall Gazebo in order to upgrade?
Asked by JoelB on 2020-01-11 13:13:28 UTC
Never mind, got it working. Thanks!
Asked by JoelB on 2020-01-11 16:05:48 UTC
Hi! I'm stuck at the same issue. How did you get it working?
Asked by Atal on 2020-05-03 12:22:02 UTC
Comments
Can you try launching with
extra_gazebo_args:="--verbose"
to see if any helpful messages are printed?Asked by chapulina on 2020-01-08 13:13:45 UTC
All it mentions is the ogre error found above the red in the image.
Asked by JoelB on 2020-01-08 13:20:53 UTC
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?
Asked by chapulina on 2020-01-08 13:32:29 UTC
I'm using 9.0.0, and link dimensions are all positive.
Asked by JoelB on 2020-01-08 14:06:48 UTC