Doc with SCOPERTA plan: https://univr-my.sharepoint.com/:w:/g/personal/daniele_meli_univr_it/EQSUs2pW0eZAlAX_kmPSOt8BmGFLFFfHhOqrR6jWNNCb_w?e=K5cKhV
This repository provides a CoppeliaSimβROS 2 integration workspace for mobile robot simulation and control.
It includes both low-level perception and control nodes (e.g. LIDAR-based navigation) and high-level logic (e.g. finite state machine coordination).
Download the official ISO image:
π https://releases.ubuntu.com/22.04/
Download from the official Coppelia Robotics website:
π https://www.coppeliarobotics.com/downloads
After installation:
chmod +x CoppeliaSim.sh
./CoppeliaSim.shOfficial installation guide (Debian packages):
π https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html
After installation, source your ROS 2 environment:
source /opt/ros/humble/setup.bashBefore running this project, it is strongly recommended to go through:
-
ROS 2 Basics:
https://docs.ros.org/en/humble/Tutorials.html -
CoppeliaSim + ROS 2 Integration Tutorial:
https://www.coppeliarobotics.com/helpFiles/en/ros2Tutorial.htm
These tutorials explain how to connect ROS 2 nodes with CoppeliaSim via topics, services, and transforms.
This project is organized as a standard ROS 2 colcon workspace:
src/
βββ follow_pkg/ # LIDAR-based reactive navigation
βββ high_level_control/ # Finite-state machine (FSM) for mission control
README.md
scenes/
βββ limo.ttt # The Coppelia scene with the robot (File -> Open Scene...)
-
Build the workspace (ignore the syntax errors, the provided codes are only sketches to solve the respective tasks, hence incomplete):
colcon build
-
Source the setup file before running any node:
source install/setup.bash
- Start CoppeliaSim, open the provided
.tttscene, and run the simulation. - In a terminal (after sourcing the workspace), launch your ROS 2 nodes:
ros2 run follow_pkg follow_node ros2 run high_level_control fsm_node
- The
follow_pkgpackage handles reactive navigation and obstacle avoidance using LIDAR data. - The
high_level_controlpackage manages mission-level logic through a finite state machine.
This project is distributed for educational and research purposes only.
Please refer to the CoppeliaSim licensing terms for simulator usage.