-
Notifications
You must be signed in to change notification settings - Fork 10
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
Extend JaxSimModelReferences
to support applying forces to frames
#159
Comments
Given a frame force in which: This logic can be parallelized to obtain the tuples |
I want to extend a bit the math since I'm reviewing #209 and there's something that might be not 100% correct. Let's consider the following two frames:
Let's now consider a 6D force To be as generic as possible, let's consider an input 6D force expressed in frame What we need to do is the following: where |
Thanks a lot @diegoferigo! I've updated my comment accordingly |
We already have
JaxSimModelReferences.apply_link_forces
to apply forces to the links. Now that frame support is finalized (#147), it would be great adding a newJaxSimModelReferences.apply_frame_force
method that allows to apply a 6D force to a given frame. In this way, the logic can directly detect the parent link of the frame and automatically express the 6D frame force to the frame of the parent link.The text was updated successfully, but these errors were encountered: