Added position interface for joint state publisher

This commit is contained in:
2026-02-08 00:56:27 +01:00
parent 31bf071476
commit d12dda5f86

View File

@@ -11,17 +11,19 @@
</xacro:unless>
<xacro:if value="${use_mock_hardware}">
<hardware>
<plugin>mock_components/GenericSystem</plugin>
<param name="calculate_dynamics">true</param>
<plugin>mock_components/GenericSystem</plugin>
<param name="calculate_dynamics">true</param>
</hardware>
</xacro:if>
<joint name="drivewhl_l_joint">
<command_interface name="velocity"/>
<state_interface name="position"/>
</joint>
<joint name="drivewhl_r_joint">
<command_interface name="velocity"/>
<state_interface name="position"/>
</joint>
</ros2_control>