Added position interface for joint state publisher
This commit is contained in:
@@ -11,17 +11,19 @@
|
|||||||
</xacro:unless>
|
</xacro:unless>
|
||||||
<xacro:if value="${use_mock_hardware}">
|
<xacro:if value="${use_mock_hardware}">
|
||||||
<hardware>
|
<hardware>
|
||||||
<plugin>mock_components/GenericSystem</plugin>
|
<plugin>mock_components/GenericSystem</plugin>
|
||||||
<param name="calculate_dynamics">true</param>
|
<param name="calculate_dynamics">true</param>
|
||||||
</hardware>
|
</hardware>
|
||||||
</xacro:if>
|
</xacro:if>
|
||||||
|
|
||||||
<joint name="drivewhl_l_joint">
|
<joint name="drivewhl_l_joint">
|
||||||
<command_interface name="velocity"/>
|
<command_interface name="velocity"/>
|
||||||
|
<state_interface name="position"/>
|
||||||
</joint>
|
</joint>
|
||||||
|
|
||||||
<joint name="drivewhl_r_joint">
|
<joint name="drivewhl_r_joint">
|
||||||
<command_interface name="velocity"/>
|
<command_interface name="velocity"/>
|
||||||
|
<state_interface name="position"/>
|
||||||
</joint>
|
</joint>
|
||||||
|
|
||||||
</ros2_control>
|
</ros2_control>
|
||||||
|
|||||||
Reference in New Issue
Block a user