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

Read current speed #8

Open
dogoepp opened this issue Mar 18, 2016 · 0 comments
Open

Read current speed #8

dogoepp opened this issue Mar 18, 2016 · 0 comments

Comments

@dogoepp
Copy link
Member

dogoepp commented Mar 18, 2016

Quoting @fedeallocati:

It is possible [to read current speed from the servos], in 3 steps:

  • Find for each dynamixel model what is the unit of the current speed field (they may differ for model to model). The issue with this is that not every model is well documented, for example in the Pros I couldn't find it, but maybe with the Dynamixel Software we can get it.
  • Add a double field called something like current_speed_unit in the traits of all models, putting the specific value for each one of them.
  • Add the functions get_present_speed_m_s and parse_present_speed_m_s both in BaseServo as virtual functions that throw exceptions (like in get_present_position_angle), and in Servo as the implementation and also as static functions available for the models
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant