Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid inertia values #3

Open
EGAlberts opened this issue Aug 5, 2024 · 2 comments
Open

Invalid inertia values #3

EGAlberts opened this issue Aug 5, 2024 · 2 comments

Comments

@EGAlberts
Copy link

In the process of migrating from Gazebo classic to Gazebo fortress, I am publishing the robot_description from tiago_description which references the gripper contained within pal_gripper. In doing so, I get three errors:

[Err] [UserCommands.cc:1138] Error Code 18: Msg: A link named arm_1_link has invalid inertia.
[Err] [UserCommands.cc:1138] Error Code 18: Msg: A link named gripper_left_finger_link has invalid inertia.
[Err] [UserCommands.cc:1138] Error Code 18: Msg: A link named gripper_right_finger_link has invalid inertia.

By zero-ing out the inertia values (see EGAlberts@e96dc1e) of these three links I am able to make Tiago spawn.

Can you please verify the inertia values are valid? Or determine if the parsing/validation by the new version of Gazebo warrants changes?

To reproduce this issue you can simply use ros2 launch tiago_description robot_state_publisher.launch.py to publish the robot_description, and this kind of snippet with gazebo fortress running to spawn based on the published robot_description:

 robot_entity = Node(
    package="ros_gz_sim",
    executable="create",
    arguments=[
        "-topic",
        "robot_description",
        "-name",
        LaunchConfiguration("robot_name"),
    ],
    output="screen",
)
@EGAlberts
Copy link
Author

@EGAlberts
Copy link
Author

Please also see the related issue with the tiago_robot: pal-robotics/tiago_robot#30
While the cause of the error is the same the solution is not. The finger_link's mesh is not watertight, meaning it is not straightforward to derive a new inertia matrix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant