ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello. I met the same problem with you. Finally I find out the reason is that in this version of ros_control/transmission_interface/transimission_parser.cpp , the parser will check if there are a <hardwareinterface> tags in both <joint> section and <actuator> section. But in rrbot and other gazebo example, only <actuator> has <hardwareinterface> tag. Therefore this error occurs.

By adding <hardwareinterface> tags to <joint> section, this error disappears. For example, in rrbot.xacro, change

<joint name="joint1"/>

as:

  <transmission name="tran1">
    <type>transmission_interface/SimpleTransmission</type>
    <joint name="joint1">
      <hardwareInterface>EffortJointInterface</hardwareInterface>
    </joint>
  </transmission>

Hello. I met the same problem with as you. Finally I find out the reason is that in this version of ros_control/transmission_interface/transimission_parser.cpp , the parser will check if there are a <hardwareinterface> tags in both <joint> section and <actuator> section. But in rrbot and other gazebo example, only <actuator> has <hardwareinterface> tag. Therefore this error occurs.

By adding <hardwareinterface> tags to <joint> section, this error disappears. For example, in rrbot.xacro, change

<joint name="joint1"/>

as:

  <transmission name="tran1">
    <type>transmission_interface/SimpleTransmission</type>
    <joint name="joint1">
      <hardwareInterface>EffortJointInterface</hardwareInterface>
    </joint>
  </transmission>

Hello. I met the same problem as you. Finally I find out the reason is that in this version of ros_control/transmission_interface/transimission_parser.cpp , the parser will check if there are a <hardwareinterface> tags in both <joint> section and <actuator> section. But in rrbot and other gazebo example, only <actuator> has <hardwareinterface> tag. Therefore this error occurs.

By adding <hardwareinterface> tags to <joint> section, this error disappears. For example, in rrbot.xacro, change

<joint name="joint1"/>

as:

  <transmission name="tran1">
    <type>transmission_interface/SimpleTransmission</type>
    <joint name="joint1">
      <hardwareInterface>EffortJointInterface</hardwareInterface>
    </joint>
  </transmission>