.. _setup_pc_only:
##############################
Using only the simulated robot
##############################
This setup tutorial will guide you through setting up your PC to run the simulated robot with the demos.
Installing Ubuntu
-----------------
#. Download Ubuntu image on your PC from the following link: `Ubuntu 24.04.2 (Noble Numbat) `__.
#. For installing Ubuntu on your PC, follow the guide `Install Ubuntu Desktop `__.
Installing ROS
--------------
For installing ROS 2 Jazzy, follow the guide for `Ubuntu (deb packages) `__.
Creating a colcon workspace
----------------------------
Create a workspace for colcon as shown `here `__.
Cloning Robotont's packages
-----------------------------
All Robotont's packages can be accessed from `Robotont's GitHub `__.
Packages necessary to run the Gazebo simulation with Robotont's demos are following:
#. `robotont_description `__
#. `robotont_nuc_description `__
#. `robotont_gazebo `__
#. `robotont_navigation `__
#. `robotont_msgs `__
You can find the demos from the following repositories:
#. `AR Demo Follow-the-leader `__
#. `AR Steering `__
#. `Slam 2D `__
#. `Mapping 3D `__
See the :ref:`demos_on_gazebo` for more information about the demos.
To clone the packages, for example, robotont_description:
.. code-block:: bash
git clone https://github.com/robotont/robotont_description.git
Building the colcon workspace
------------------------------
.. code-block:: bash
cd colcon_ws
colcon build
Sourcing the workspace
-----------------------
Make the workspace visible to ROS 2 (must be done for every new terminal)
.. code-block:: bash
source ~/colcon_ws/install/setup.bash
For automatic sourcing:
.. code-block:: bash
echo "source ~/colcon_ws/install/setup.bash" >> ~/.bashrc
Running the Simulation
---------------------
After building and sourcing your workspace, you can spawn the robot in a gazebo world, for example:
.. code-block:: bash
ros2 launch robotont_gazebo gazebo.launch.py world:=colors.sdf
.. image:: /pictures/colors_world_example.png
:width: 100%
Refer to individual demo package READMEs for more details on launching specific demos.