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 get the Dynamixel's load? #8

Open
HumbleLegacy opened this issue Jun 12, 2018 · 3 comments
Open

How to get the Dynamixel's load? #8

HumbleLegacy opened this issue Jun 12, 2018 · 3 comments

Comments

@HumbleLegacy
Copy link

Hey guys,
your library has helped me really well so far.
Is there a way to get the load of the servo? The get_position is really easy, but there is nothing for other values of the servo.

I think the command: "def _read(self,id,address,size):" could help me there. Is that true and how would i have to use "address" and "size"?

I am using the MX-64AR btw.
Thank you

@HumbleLegacy
Copy link
Author

Okay I understand this better now, but it seems the MX-64AR is using a different control table. That control table does not have values for the size included. Seems like the MX-64AR is controlled differently.
Is there still a way to make this work? I can perfectly move the servo and read the position with "chain.goto" and "chain.get_position", but cant quite access more advanced commands.

@Philippe-Capdepuy
Copy link
Member

Hi,

You should be able to do a chain.get_reg(MOTOR_ID,"present_load") to obtain the load value.

@HumbleLegacy
Copy link
Author

Works like a charm. Thank you!

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