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

define f_ext in forwardDynamics #78

Open
liujiang98 opened this issue Mar 14, 2023 · 0 comments
Open

define f_ext in forwardDynamics #78

liujiang98 opened this issue Mar 14, 2023 · 0 comments

Comments

@liujiang98
Copy link

Hello
I want to use function forwardDynamics and my model has f_ext.In the official document, it says that f_ext is in base coordinates. So base coordinates is the same as base_link coordinates?
But I find a problem. I set f_ext z_axis of link1 to 5 and other f_ext to zero.f_ext[model->GetBodyId("link1")][5] = 5.0;
In another case, I set f_ext z_axis of link2 to 5 and other f_ext to zero.f_ext[model->GetBodyId("link2")][5] = 5.0;
In the above two cases, the output QDDot is different.If f_ext is in base coordinates, QDDot should be the same.I am currently confused and do not know how to define f_ext.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant