-
Notifications
You must be signed in to change notification settings - Fork 304
AddLinkForce alternative #2713
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
Comments
My current workaround is by taking the world pose of the link and multiplying its quaternion by the desired vector force |
Yes, |
Hello, I would like to contribute. |
Feel free to open a PR with the new function pointing to main. |
Hi @ZenBubble, I believe this issue is still open, and I’d like to work on it. I will also need some clarification on what exactly is required. Could you please confirm if this PR — [AddLinkForce](https://github.com/gazebosim/gz-sim/pull/2816/files) — is related to this issue? |
The PR introduces an API similar to the one mentioned in the issue, it introduces an API for applying a force expressed in terms of the inertial frame at the inertial or at an offset from the inertial. |
Thanks for this. |
If I understand correctly, the issue is about implementing a function that makes the applies force at the link’s center of mass and expresses it in the link frame, rather than in the world frame, which has already been implemented? |
I’m not entirely sure of the best approach, but I’ve forked this repository and created a new branch to work from. Should the issue be officially assigned to me, or would it be better if I linked the forked branch here? @Vedant87 ? |
Desired behavior
In old gazebo, this function was used to apply force relative to a link frame, which made it optimal to use for thrusters for AUVs and any underwater vehicle.
Alternatives considered
Tried using AddWorldForce but the force is applied relative to the world
The text was updated successfully, but these errors were encountered: