ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

URDF has inertia specified, apparently, but I can't find where.

asked 2016-03-01 21:56:29 -0500

jhoban gravatar image

updated 2016-03-02 02:45:21 -0500

gvdhoorn gravatar image

Hi,

Am currently getting the following warning which I think is the cause of UWSim crashing if challenged by anything more than loading:

The root link base_link has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF.

I've gone looking through the .xml files and I've looked around on the internet, and though a lot of people seem to talk about this warning I have found no solutions. I am working from the default cirs.xml for UWSim inside ROS Indigo.

Does anyone have suggestions to fix this problem? Is it ROS or UWSim?

Thanks if anyone does have a solution.

Janet

edit retag flag offensive close merge delete

Comments

Here I am getting same warning:

and error in rviz as shown in picture:

how to solve this problem

How to solve this?

gokarna_baskota gravatar image gokarna_baskota  ( 2021-12-13 06:01:46 -0500 )edit

@gokarna_baskota please do not post answers that are not actually answers. This is a Q&A site not a discussion forum. I've reposted your answer as a question comment. Additionally, the image you posted seems to mostly contain text, which is not ideal. It's always preferable to add actual text instead of screenshots so that it can be searched. Finally, I can't really read the image anyway because it's so small. Read more guidelines here: https://wiki.ros.org/Support

The warning in this question is really just a warning. I'm guessing you have an actual issue. Perhaps it would be best to open a new question for your issue specifically. Best of luck!

jarvisschultz gravatar image jarvisschultz  ( 2021-12-13 09:32:34 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-03-02 05:08:47 -0500

Javier Perez gravatar image

Hi Janet,

This warning is only saying KDL does not support root links with inertia. But UWSim only uses KDL to publish the TF tree using the URDF provided to build the robot. The robot is NOT simulated through KDL so that is the reason the warning can safely ignored. I tried to find a way to hide it, but I didn't find it. In the case of UWSim is used for simulated force sensor that, obviously, need a mass to produce a simulated force, if there are no force sensors can be safely removed from URDF.

If you are experimenting a crash it should have another cause. If you provide us more information about the crash maybe we can help you ;).

edit flag offensive delete link more

Comments

Crash info...well it's booting up any of the scenes without problem and the C++ program for the joystick interface compiles with no errors, but any movement of the joystick after booting has completed results in the simulator crashing and closing down.

jhoban gravatar image jhoban  ( 2016-03-02 05:57:21 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-03-01 21:56:29 -0500

Seen: 1,309 times

Last updated: Dec 13 '21