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

Get signed position for XM series #64

Open
mrunaljsarvaiya opened this issue Aug 27, 2020 · 1 comment
Open

Get signed position for XM series #64

mrunaljsarvaiya opened this issue Aug 27, 2020 · 1 comment

Comments

@mrunaljsarvaiya
Copy link

mrunaljsarvaiya commented Aug 27, 2020

Is there a method to read the signed position from dynamixels? If I move the dynamixel to -PI/2 (confirmed through dynamixel wizard) the get_present_position_angle method returns 18301.

@dogoepp
Copy link
Member

dogoepp commented Sep 1, 2020

I assume that you are interested in the raw value for "present position", which range would be -2,147,483,648 to 2,147,483,647¹ if and only if the actuator is not in position control mode.

In that context, the source code does currently handle this signed raw value. Since you have a servo at hand, would you consider proposing a fix ?

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