When and why should we use the urdf transmission tag
When and why should we use the urdf/xacro transmission tag when working with ros_control
?
According to the C++ API documentation:
The
transmission_interface
is not used by controllers themselves (it does not implement a HardwareInterface) but instead operates before or after the controllersupdate
, in theread()
andwrite()
methods (or equivalents) of the robot abstraction.
Can the transmision tag be omitted or is it always required?
According to this answer and the ROScon 2014 talk:
Actuators are connected to joints via mechanical transmissions, and you need to use them if you want
ros_control
to handle the mapping between joint and actuator spaces.
Is the transmission always required when working with the gazebo_ros_control
plugin?
Edit: Looking at the data-flow image it seems that the transmission is required in both cases (Simulation and Hardware). This answers the question on when it is neededb but not exactly why it is needed. Does someone know which components of ROS control use the transmission information and where in the source code (the controller_manager or some other component)? I would like to get a better understanding of this. Thank you.
Asked by fjp on 2020-03-13 09:11:11 UTC
Answers
As for simulation transmission
tag is required by gazebo_ros_control
and is currently used to define names of controlled joints and their hardware_interface
types. Transmission type
and actuator mechanicalReduction
tags are ignored as this functionality is not implemented yet.
Asked by rinnaz on 2021-11-20 03:26:52 UTC
Comments
Could you please tone down the bold font a bit?
With all the other formatting it doesn't necessarily make your question text easier to read.
Asked by gvdhoorn on 2020-03-13 09:37:53 UTC
@gvdhoorn sorry for that, I removed it.
Asked by fjp on 2020-03-13 09:55:10 UTC
@gvdhoorn is there anything else I can do to make the question clearer so that it is easier to answer for you or anyone else? The main question boils down to what's in the title. I would highly appreciate your help. Thank you.
Asked by fjp on 2020-03-13 11:49:24 UTC