-
Notifications
You must be signed in to change notification settings - Fork 199
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 apply transmission gear ratio (mechanical_reduction) in hardware_interface #216
Comments
Still looking for an answer :) |
Dear @firesurfer, you should probably ask this question in the ros2_control repository where At the |
@olivier-stasse Thanks a lot for your answer I posted the question also in the main ros2_control repo (ros-controls/ros2_control#897) |
Hey @firesurfer, if you are still interested, you can check the demo I've been working on in #226. Any feedback is appreciated. |
@jordan-palacios Thanks a lot this is exactly what I was looking for ! |
I have a transmission which looks like this:
When writing a hardware interface i can access the via the
hardware_interface::HardwareInfo &system_info
passed in theon_init
method.Unfortunately I couldnt find any examples for best practices on how to actually use the transmission. My idea was to simply store a list in the hardware interface with the mechanical reduction for each joint handled by the hw interface and apply this value when calling write/read.
Is this the intended usage or am I doing this completely wrong?
The text was updated successfully, but these errors were encountered: