Simulation#
Overview#
This page provides instructions for setting up the simulation environment used in this course. The simulation stack consists of:
ROS 2 Jazzy desktop installation
Gazebo Harmonic simulator
Husarion ROSbot simulation packages (robot model with LiDAR, camera, and IMU sensors)
Note
These instructions are for simulation only. No physical robot hardware is required.
Choosing an Installation Method#
There are two ways to set up the simulation environment:
Method |
When to use |
Trade-off |
|---|---|---|
You need Gazebo Classic or you need to use ROS Humble for another course |
Gazebo Harmonic runs inside a Docker container, isolated from Gazebo Classic on the host. |
|
You do not need Gazebo Classic and you can use ROS Jazzy. |
Gazebo Harmonic is installed directly on your system. Simpler workflow, but cannot coexist with Gazebo Classic. |
Warning
Gazebo Harmonic and Gazebo Classic cannot
coexist on the same system – they share library names and the
gazebo command, leading to symbol collisions. Pick the method
that matches your situation.
Launching the Simulation#
Once your environment is set up (via either method), launch the simulation.