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

How to interpret target position of configureMotorPosition method? #153

Open
wycongwisc opened this issue Jul 5, 2022 · 2 comments
Open

Comments

@wycongwisc
Copy link

I'm trying to set the motor position of a revolute joint but am not sure what the targetPos argument should be. It doesn't seem to radians or degrees and its not mentioned in the documentation. Any help would be appreciated, thanks.

@LeXXik
Copy link

LeXXik commented Jul 5, 2022

Lets say you have a wall clock, where the arrow is joined with the clock face with the revolute joint. The target position is a number (radians? can't recall actually) which represents the angle of the arrow or what time it shows.

@wycongwisc
Copy link
Author

These are the orientations when targetPos is set to 0, Pi/2, Pi, 3*Pi/2 and 2*Pi respectively (you are seeing two rigid bodies on top of each other, with a revolute joint on the y-axis between them). Any idea why it would look like this?
image
image
image
image
image

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