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

Example for usage of transmission #897

Closed
firesurfer opened this issue Jan 12, 2023 · 2 comments
Closed

Example for usage of transmission #897

firesurfer opened this issue Jan 12, 2023 · 2 comments

Comments

@firesurfer
Copy link
Contributor

Hi everyone, I asked this question first in the ros2_control_demos (ros-controls/ros2_control_demos#216) and it was suggested to ask the question in this repository.

I am looking for an example how to actually use a transmission element in the hardware_interface.

In my xacro file I have a transmission specified like this

<transmission name="mytransmission>
          <plugin>transmission_interface/SimpleTransmission</plugin>
          <joint name="${name}" role="${prefix}${name}_actuator">
                <mechanical_reduction>5.0</mechanical_reduction>
          </joint>
</transmission>

When writing a hardware interface i can access the via the hardware_interface::HardwareInfo &system_info passed in the on_init method.

Unfortunately I couldn't find any examples for best practices on how to actually use the transmission in the hardware interface.

@destogl
Copy link
Member

destogl commented Jan 13, 2023

@bmagyar that's your expertise :D

@firesurfer
Copy link
Contributor Author

See ros-controls/ros2_control_demos#226 for an example

pac48 pushed a commit to pac48/ros2_control that referenced this issue Jan 26, 2024
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

2 participants