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

anticlockwise rotation in .bioMod #285

Open
MennatallahRihan opened this issue Aug 8, 2022 · 1 comment
Open

anticlockwise rotation in .bioMod #285

MennatallahRihan opened this issue Aug 8, 2022 · 1 comment

Comments

@MennatallahRihan
Copy link

Hello!
I was wondering if there is any way to set the rotation of specific segments in the bioMod file to rotate anticlockwise. Maybe something like rotation -y. (but this line doesn't work)
Is this something implemented in biorbd or is there a workaround?

Thanks!

@pariterre
Copy link
Member

Hi @MennatallahRihan
It is indeed not possible to reverse the direction of the rotation, there as design choices we made that would make this highly difficult to maintain. The main workaround is to prepare a sign vector and multiply the output of biorbd. That said, I would strongly suggest not doing that and simply accept that the sign are opposite sometimes and only swap the sign at the very end when producing figures and tables.

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

2 participants