-
Notifications
You must be signed in to change notification settings - Fork 26
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
Simplify the logic for applying link wrenches #127
Comments
As usual, pay attention to the details on how this quantities are expressed, see https://bitbucket.org/ignitionrobotics/ign-gazebo/pull-requests/509/added-link-addworldwrench/diff#comment-134092323 . |
So at the current stage |
Yes thanks for pointing it out. Using the low-level component, the wrench is applied to the frame of the link. Instead, using these helpers, forces are applied to the center of mass. In general, the CoM is more intuitive since it is not dependent on how the model has been designed. As soon as the upstream PR get merged and we port our code to use the Link helper, we should also change the Python documentation from link frame to CoM (before freezing the APIs 🙂). |
The new ScenarI/O APIs of #158 refactored also the logic for applying link wrenches: gym-ignition/cpp/scenario/gazebo/src/Link.cpp Lines 450 to 464 in 28d4484
Now all the methods call |
As soon as ignitionrobotics/ign-gazebo#509 will be merged, we can simplify a lot the logic to apply link wrenches introduced in #124.
The text was updated successfully, but these errors were encountered: