==================================== How to add a robot to an application ==================================== The robot can be included by adding the include statement at the start of the ```` tag. The ``.xml`` file to include the robot will usually be in a folder named 'robot_name' inside the package **pitasc_library**. .. rstcheck: ignore-next-code-block .. code-block:: xml :emphasize-lines: 3 ... As the second step, the robot should be added to the ```` tag of the project by cloning the robot from the included ``.xml`` into it. .. code-block:: xml :emphasize-lines: 2 As the last step, you need to set the ``robot`` parameter of the overarching composition skill inside the ```` to reference the robot added inside the ```` .. code-block:: xml :emphasize-lines: 3 ... | **Example** | The complete pitasc application file should look something like the following example, in which a **UR5** robot is added. .. code-block:: xml :emphasize-lines: 5,14,15,16,17,21 :linenos: | **Robot Parameters** | Usually, you just need to set the namespace of the robot (if there is one) and the urdf prefix. But you can also explicitely define all parameters: .. code-block:: xml <...> <...> 0.1 0.5 ur5/joint_states ur5/joint_vel ur5/robot_description ur5_tool0 ur5_base_link <...> Note that if you define a namespace, this is automatically added to the defined topics, following the ros namespace rules as it is in ros launch files. If you specify an urdf_prefix, this is added to the specified urdf_ee_link and urdf_base_link.