Skip to content

Commit 8beae64

Browse files
Fix interface configuration docs (#2537)
1 parent 0301b0a commit 8beae64

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

hardware_interface/doc/hardware_interface_types_userdoc.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ A generic example which shows the structure is provided below. More specific exa
2525
<param name="example_param">value</param>
2626
</hardware>
2727
<joint name="name_of_the_component">
28-
<command_interface name="interface_name">
29-
<!-- All of them are optional. `data_type` and `size` are used for GPIOs. Size is length of an array. -->
28+
<!-- `data_type` argument is optional (defaults to double). -->
29+
<command_interface name="interface_name" data_type="double">
30+
<!-- All of them are optional. -->
3031
<param name="min">-1</param>
3132
<param name="max">1</param>
3233
<param name="initial_value">0.0</param>
33-
<param name="data_type"></param>
34-
<param name="size">5</param>
3534
<!-- Optional. Added to the key/value storage parameters -->
3635
<param name="own_param_1">some_value</param>
3736
<param name="own_param_2">other_value</param>

0 commit comments

Comments
 (0)