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

[Question]: Gazebo simulator wx series arm inertia problem #153

Closed
wellyowo opened this issue Jan 11, 2024 · 1 comment
Closed

[Question]: Gazebo simulator wx series arm inertia problem #153

wellyowo opened this issue Jan 11, 2024 · 1 comment
Assignees
Labels
manipulators Issues related to manipulators question Further information is requested

Comments

@wellyowo
Copy link

Question

Hello,

When I run Gazebo with the WX200 simulator, I feel confused about setting up the inertia for three links: ee_arm_link, fingers_link, and ee_gripper_link. All these links have no visual parts and are set with a mass of 0.001 and inertia of 0.001 as well. However, when I look at the inertia visualization in Gazebo, it appears like the picture
image

I have two questions regarding setting the inertia to 0.001:

  1. Why are these three links set with the parameter at 0.001?
  2. Will this setup affect the dynamics of the arm? In the official Gazebo tutorial, the inertia visualization box is supposed to fit the visual part of the model. However, it doesn’t in my case. I've tried changing the inertia value to make the visual box smaller, but the gripper model starts shaking if the inertia of these three links is set smaller than 10^-6, 10^-4, and 10^-3, respectively.

Please let me know if this setup won't affect anything, or if there are any considerations I should be aware of.
Thank you.

Robot Model

wx200

Operating System

Ubuntu 18.04

ROS Version

ROS 1 Melodic

Additional Info

No response

@wellyowo wellyowo added manipulators Issues related to manipulators question Further information is requested labels Jan 11, 2024
@wellyowo wellyowo changed the title [Question]: Gazebo simulator wx series arm inertia prblem [Question]: Gazebo simulator wx series arm inertia problem Jan 14, 2024
@swiz23
Copy link
Contributor

swiz23 commented Apr 10, 2024

Since those 3 links you mentioned have no visual parts, they should really have zero mass/inertial properties. The reason those links exist are purely for convenience (either to signify the end of the arm/gripper kinematic chain or to provide a common reference frame for the two paddles on each gripper finger). However, as you discovered, Gazebo doesn't play nice with links in the URDF that have no mass/inertial properties. So the 0.001 you see there is just a dummy value. And no, I don't think it will affect the dynamics of the arm. The mass of each of those 'virtual' links are each 1 gram which I would imagine is negligible compared to the inertial properties of the other robot links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
manipulators Issues related to manipulators question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants