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 use bulk_read in dynamixel_control_hw? #50

Open
naoki-mizuno opened this issue May 21, 2018 · 1 comment
Open

How to use bulk_read in dynamixel_control_hw? #50

naoki-mizuno opened this issue May 21, 2018 · 1 comment

Comments

@naoki-mizuno
Copy link
Contributor

naoki-mizuno commented May 21, 2018

I've been trying to implement bulk_read in dynamixel_control_hw, but couldn't figure out how to use the newly implemented methods.

I'm trying to create a BulkRead instruction packet (somewhere in read_joints) using get_##Name, but since DynamixelHardwareInterface only has access to its member variables of type BaseServo, I'm not sure if it's possible to use get_present_position(std::vector<id_t>) and get_present_speed(std::vector<id_t>), which are defined in Servo<Model>, the derived class of BaseServo.

If you could give me some pointers on how I can work this around, it would be great!

@dogoepp
Copy link
Member

dogoepp commented May 23, 2018

I'm working on it. I think I should add the virtual method to BaseServo.

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