.. _robco_description:
robco_description
=================
.. note::
For a tutorial on how to create a URDF file for a specific robot configuration, please see
:ref:`creating_a_urdf_file`.
The robco_description package provides a URDF library with xacro macros for all RobCo robot
modules. This way, any module configuration can be easily represented. For example, the following
URDF file:
.. code-block:: xml
yields this robot configuration:
.. figure:: /_static/demo_urdf.png
:align: center
Demo URDF visualized in rviz2
ros2_control Support
--------------------
The ``ros2_control`` framework requires some configuration in the URDF file, defining at a minimum
which command interfaces are supported on each joint. To automatically insert these macros, the
provided ``robco_ros2_control`` macros can be used as in the following URDF:
.. code-block:: xml
robco_hardware/RobcoHardware