240AR060 - Introduction to ROS
2025
Tutorial 1: ROS basic concepts and development tools
Tutorial 2: Communications using topics
Tutorial 3: Tools
Tutorial 4: Communications using services
Tutorial 5: Simulation
Tutorial 6: Communications using actions
Tutorial 7: Robot control
FINAL WORK
APPENDICES
Appendix 1: Linux basics
Appendix 2: ROS 2 install instructions
Appendix 3: Setup
Appendix 4: Version control using GIT
Appendix 5: Writing, compiling and linking C++ programs
Appendix 6: Good practices: naming, documentation, logging
240AR060 - Introduction to ROS
APPENDICES
APPENDICES
Appendix 1: Linux basics
Unix
Linux distribution
Debian and Ubuntu
How to install a Ubuntu 22.04
Erase the hard disk of a computer and replace it with a new OS
Install it along the current OS in the computer
Install it using some virtualization technologies
Appendix 2: ROS 2 install instructions
Installing an editor
Qtcreator
Codeblocks
Eclipse
Lapce
VSCode and Codium
Appendix 3: Setup
Configuring the ROS user environment
Check environment variables
Working in a networked scenario
Configuring Gazebo
The folder for the repositories
Organization of GitLab for the course
Procedure to prepare the exercises
Documenting the solution to the exercises
The colcon workspaces
Hacking your bashrc file
Viewing in which branch are you working in git
Create some alias
Some notes about the computers in the ETSEIB computer rooms
Appendix 4: Version control using GIT
Introduction to Git
Basic Git commands
Appendix 5: Writing, compiling and linking C++ programs
Programming
Some C++ basics and resources
Compiling and linking
A talk from the Master
Building software
Building by hand
Building with a Makefile
Building with a Makefile and the pkg-config utility
Building with CMake
Appendix 6: Good practices: naming, documentation, logging