Skip to content

Commit ac50a7f

Browse files
authored
urdf/ros2_control: use mock_components instead of fake_components (#33)
Fix enactic/openarm_ros2#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!!!
1 parent c751d3f commit ac50a7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

urdf/ros2_control/openarm.bimanual.ros2_control.xacro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<hardware>
1818
<param name="arm_type">${arm_type}</param>
1919
<xacro:if value="${use_fake_hardware}">
20-
<plugin>fake_components/GenericSystem</plugin>
20+
<plugin>mock_components/GenericSystem</plugin>
2121
<param name="fake_sensor_commands">${fake_sensor_commands}</param>
2222
<param name="state_following_offset">0.0</param>
2323
</xacro:if>
@@ -68,7 +68,7 @@
6868
<hardware>
6969
<param name="arm_type">${arm_type}</param>
7070
<xacro:if value="${use_fake_hardware}">
71-
<plugin>fake_components/GenericSystem</plugin>
71+
<plugin>mock_components/GenericSystem</plugin>
7272
<param name="fake_sensor_commands">${fake_sensor_commands}</param>
7373
<param name="state_following_offset">0.0</param>
7474
</xacro:if>

urdf/ros2_control/openarm.ros2_control.xacro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<param name="arm_type">${arm_type}</param>
1818
<param name="prefix">${arm_prefix}</param>
1919
<xacro:if value="${use_fake_hardware}">
20-
<plugin>fake_components/GenericSystem</plugin>
20+
<plugin>mock_components/GenericSystem</plugin>
2121
<param name="fake_sensor_commands">${fake_sensor_commands}</param>
2222
<param name="state_following_offset">0.0</param>
2323
</xacro:if>

0 commit comments

Comments
 (0)