.. _building_and_installing: Building and Installing ======================= First, create a colcon workspace (if you haven't already). The process is described `in the official ROS 2 documentation `_. We'll assume your workspace is in ``~/ros2_ws``. Clone the ``robco_ros2`` repository to the workspace: .. code-block:: bash cd ros2_ws/src git clone https://gitlab.com/robco-public/ros/robco_ros2 cd .. Next, use ``rosdep`` to install any dependencies: .. code-block:: bash sudo apt update rosdep update rosdep install --from-paths src --ignore-src Now, ``robco_ros2`` can be built: .. code-block:: bash colcon build To make use of the ``robco_ros2`` packages, don't forget to source the workspace install script: .. code-block:: bash source ~/ros2_ws/install/setup.bash