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

Fix #378 Added one example join_motor_position #422

Merged
merged 8 commits into from
Dec 10, 2023
Merged

Fix #378 Added one example join_motor_position #422

merged 8 commits into from
Dec 10, 2023

Conversation

pellico
Copy link
Contributor

@pellico pellico commented Nov 27, 2022

Fix #378 . Added one example joint_motor_position2.

The division by 2.0*PI has been added to keep the backward compatibility as much possible. ((s_ang_dist - s_target_ang) % (2.0*PI))/(2.0*PI)
I tested all examples but I have to admit that I didn't fully understand the potential impact on overall code.

@midstreeeam
Copy link

Hi! I found you added it only to joint motors, should the joint limit also need to be modified?

@sebcrozet sebcrozet merged commit 9ac3503 into dimforge:master Dec 10, 2023
5 checks passed
@sebcrozet
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

Revolute joint motor target position is broken at and beyond 90 degree angles
3 participants