-
Notifications
You must be signed in to change notification settings - Fork 41
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
Velocity decay for links not working #635
Comments
Thanks for the SDF file, but as is, we won't be able to try it because it references a file ( |
@azeey Yes, I have simplified and added the entire contents of the sdf in a simple way (I have also tested it again to reproduce it). I have attached it as a txt file as the code command pasting was not formatting well. |
I think the Gazebo-classic reads the SDF element and applies linear / angular damping to the links. We would just need to do the same here. |
@iche033 can you please let me know when it will be implemented. My project is struck on it as I cannot do velocity decay for links or joints. I can also help you in the implementation and looking forward to get it done in a week. please let me know |
Do you need to use a ball joint? If you can use a revolute joint (or universal joint), the joint <joint type="revolute" name="hinge_1">
<pose>0 0 1.5 0 0 0</pose>
<parent>link1</parent>
<child>p1</child>
<axis>
<use_parent_model_frame>true</use_parent_model_frame>
<xyz>1 0 0</xyz>
<dynamics>
<damping>0.0001</damping>
</dynamics>
</axis>
</joint> |
@iche033 I tried the universal joint, it did not work and also saw the source code in gz-physics it did not support it. The revolute joint works for damping but my requirement is to have 3 DOF rotational joint so I need a ball joint. I tried a work around suggested by @azeey by having 2 dummy links to have it as 3 DOF rotational joint between the links. The movement is not the way I intended it to and shows a different motion. Since there is no damping in the links or joints, this is becoming a constraint and affecting my project. Is it possible to bring the changes done in Gazebo classic here ? It would be very helpful for my project |
We are not planning to work on this in the near term, but any help from the wider community would be appreciated. |
@azeey I can work on it, if i get some top level guidance in doing it. |
Environment
Description
Steps to reproduce
Output
I have attached a video and SDF file for this.
free_swinging_motion_pendulum.mp4
The text was updated successfully, but these errors were encountered: