-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
Revolute joint motor target position is broken at and beyond 90 degree angles #378
Comments
Confirm same behavior with latest version 0.15.0. |
Also running into issues around this. Seems to also affect revolute joints using limits without motors. Stepping through a range of limits from [0.0, 0.0] -> [180.0, 180.0] (degrees) works correctly (i.e. removing the remaining degree of freedom), but once you go beyond 180 the limit starts moving backwards in the wrong direction. |
…position-is-broken-at-and-beyond-90-degree-angles Fix #378 Added one example join_motor_position
Summary
When setting the target angle of a 2D revolute joint motor to 90 degrees, it starts spinning uncontrollably.
When setting the target angle to something larger, e.g. 135 degrees, it instead converges to 45 degrees.
Reproducer
I added the following file to the
examples2d
testbed.When setting the joint motor angle to
45f32.to_radians()
, it behaves as expected (after some wobbling, it converges to the 45 degree position).However, when setting it to
90f32.to_radians()
as in the example below, it just keeps spinning.Setting it to
135f32.to_radians()
behaves the same as the 45 degree case.`motor2.rs` testbed reproducer
The text was updated successfully, but these errors were encountered: