.. _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 and install Ubuntu Linux on your PC from the following link: `Ubuntu 20.04.6 LTS (Focal Fossa) `__.
The guide to install Ubuntu on your PC can be found `here `__.
Installing ROS
--------------
Install ROS Noetic by following the guide: `ROS Noetic `__.
Creating a catkin workspace
----------------------------
Create a workspace for catkin 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 catkin workspace
------------------------------
.. code-block:: bash
cd catkin_ws
catkin build
Sourcing the workspace
-----------------------
Make the workspace visible to ROS (must be done for every new terminal)
.. code-block:: bash
source ~/catkin_ws/devel/setup.bash
For automatic sourcing:
.. code-block:: bash
echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc