urdf/ros2_control: use mock_components instead of fake_components (#33)
Fix https://github.com/enactic/openarm_ros2/issues/75 There is no mention of `fake_components` in the official documentation since Humble. We should currently use `mock_components`. I have confirmed that it works in Humble and Jazzy. Reported by @ncnynl. Thanks!!!
This commit is contained in:
parent
c751d3fac9
commit
ac50a7fd2c
@ -17,7 +17,7 @@
|
|||||||
<hardware>
|
<hardware>
|
||||||
<param name="arm_type">${arm_type}</param>
|
<param name="arm_type">${arm_type}</param>
|
||||||
<xacro:if value="${use_fake_hardware}">
|
<xacro:if value="${use_fake_hardware}">
|
||||||
<plugin>fake_components/GenericSystem</plugin>
|
<plugin>mock_components/GenericSystem</plugin>
|
||||||
<param name="fake_sensor_commands">${fake_sensor_commands}</param>
|
<param name="fake_sensor_commands">${fake_sensor_commands}</param>
|
||||||
<param name="state_following_offset">0.0</param>
|
<param name="state_following_offset">0.0</param>
|
||||||
</xacro:if>
|
</xacro:if>
|
||||||
@ -68,7 +68,7 @@
|
|||||||
<hardware>
|
<hardware>
|
||||||
<param name="arm_type">${arm_type}</param>
|
<param name="arm_type">${arm_type}</param>
|
||||||
<xacro:if value="${use_fake_hardware}">
|
<xacro:if value="${use_fake_hardware}">
|
||||||
<plugin>fake_components/GenericSystem</plugin>
|
<plugin>mock_components/GenericSystem</plugin>
|
||||||
<param name="fake_sensor_commands">${fake_sensor_commands}</param>
|
<param name="fake_sensor_commands">${fake_sensor_commands}</param>
|
||||||
<param name="state_following_offset">0.0</param>
|
<param name="state_following_offset">0.0</param>
|
||||||
</xacro:if>
|
</xacro:if>
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
<param name="arm_type">${arm_type}</param>
|
<param name="arm_type">${arm_type}</param>
|
||||||
<param name="prefix">${arm_prefix}</param>
|
<param name="prefix">${arm_prefix}</param>
|
||||||
<xacro:if value="${use_fake_hardware}">
|
<xacro:if value="${use_fake_hardware}">
|
||||||
<plugin>fake_components/GenericSystem</plugin>
|
<plugin>mock_components/GenericSystem</plugin>
|
||||||
<param name="fake_sensor_commands">${fake_sensor_commands}</param>
|
<param name="fake_sensor_commands">${fake_sensor_commands}</param>
|
||||||
<param name="state_following_offset">0.0</param>
|
<param name="state_following_offset">0.0</param>
|
||||||
</xacro:if>
|
</xacro:if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user