Skip to content

Commit 2d8878e

Browse files
authored
Add an initial value for the major_version state interface (#343)
This can be used in mock hardware tests
1 parent e009f2a commit 2d8878e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

urdf/ur.ros2_control.xacro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,9 @@
361361
</gpio>
362362

363363
<gpio name="${tf_prefix}get_robot_software_version">
364-
<state_interface name="get_version_major"/>
364+
<state_interface name="get_version_major">
365+
<param name="initial_value">1</param>
366+
</state_interface>
365367
<state_interface name="get_version_minor"/>
366368
<state_interface name="get_version_build"/>
367369
<state_interface name="get_version_bugfix"/>

0 commit comments

Comments
 (0)