Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl committed Aug 16, 2024
1 parent 81836ec commit da49ea2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hardware_interface/doc/hardware_interface_types_userdoc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ A generic example which shows the structure is provided below. More specific exa

.. code:: xml
<ros2_control name="Name_of_the_hardware" type="system|sensor|actuator">
<ros2_control name="Name_of_the_hardware" type="system">
<hardware>
<plugin>library_name/ClassName</plugin>
<!-- added to hardware_parameters -->
<param name="example_param">value</param>
</hardware>
<joint|gpio|sensor name="name_of_the_component">
<joint name="name_of_the_component">
<command_interface name="interface_name">
<!-- All of them are optional. `data_type` and `size` are used for GPIOs. Size is length of an array. -->
<param name="min">-1</param>
Expand All @@ -38,7 +38,7 @@ A generic example which shows the structure is provided below. More specific exa
</command_interface>
<!-- Short form to define StateInterface. Can be extended like CommandInterface. -->
<state_interface name="position"/>
</joint|gpio|sensor>
</joint>
</ros2_control>
Joints
Expand Down

0 comments on commit da49ea2

Please sign in to comment.