Robotics StackExchange | Archived questions

Imported URDF model submerged in Gazebo

I imported my model from Solidworks with urdfconverter. The robot looks fine in RViz, but in the Gazebo, it looks submerged, and the prismatic joint doesn't work well, making the table fall. Also, the fixed joint doesn't appear. During starting, the robot moves.

Here is my urdf file.

For these problems, I searched, and one said, "try to correct the inertia." I tried to correct them, but with nothing happened. For the fixed joint, I found that it is better to put it revolute with limits 0, but this transform makes RViz collapse. I am using ROS melodic and gazebo 9.

Asked by Omar_Alkassas on 2022-09-13 01:40:35 UTC

Comments

The question is best suited for Gazebo Answers.

Asked by ravijoshi on 2022-09-13 06:20:40 UTC

Answers

Creating a wheeled-robot simulation from scratch is complicated, and it requires much more than exporting a file from solidworks. There are existing simulations for the turtlebot3 or the jackal that you can install from apt. I suggest you go through one of those tutorials, and also study the provided files to see how they did things before you try to create your own robot.

You could start with this link: http://wiki.ros.org/turtlebot3_simulations

Asked by Mike Scheutzow on 2022-09-13 17:41:02 UTC

Comments