0% found this document useful (0 votes)
97 views22 pages

Rbn-Ros2 2022

The document discusses setting up ROS2 software development. It recommends installing Docker Desktop, Python, Git, and cloning a GitHub repository for ROS2. It then instructs the user to start the Docker container stack to run ROS2 and access a local VS Code instance. The goal is to prepare the user's environment for ROS2 software development.

Uploaded by

abu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views22 pages

Rbn-Ros2 2022

The document discusses setting up ROS2 software development. It recommends installing Docker Desktop, Python, Git, and cloning a GitHub repository for ROS2. It then instructs the user to start the Docker container stack to run ROS2 and access a local VS Code instance. The goal is to prepare the user's environment for ROS2 software development.

Uploaded by

abu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Roboneo 2022

RBN-ROS2
Scan Me !
Robot Operating System (ROS)
In ROS it is not possible to create more than one node in a process. In ROS2 it is
possible to create multiple nodes in a process.

In ROS roslaunch files are defined in XML with very limited capabilities. In ROS2
launch files are written in Python which enables to use more complex logic like
conditionals etc.
Equipments for RBN-ROS2
1. Full chassis RC car robot
2. ESP32
3. Battery / Power Adapter
4. ESP32 Breadboard
5. Jumper Wire
6. L298N/L9110 Motor driver
7. ...
What should we do first ?
How to setup the Software
Development ?
RBN-ROS2
Install Docker Desktop

https://www.docker.com/products/docker-desktop/

Note: Please choose based on what OS that you use…


Install Python

Open your Microsoft Store and search for Python and select the latest version.
Then, click download…
Re-Check !!!
Python :

- Open Powershell(Admin), type “python”..

Docker Desktop :

- Search your Docker Desktop and double click to turn it on. Then go to
Powershell(Admin), type “Docker”..
Git & Github
https://git-scm.com/downloads

Go to this link and download Git installer based on your OS…

Note : During the installation, follow your trainer instruction first before directly
install the Git into your OS.
Lets jump into the first ROS2 setup
RBN-ROS2
Re-Check !!!
- In a host OS terminal, type the following:

$ git clone https://github.com/hadabot/hadabot_main.git

- To build and start the Hadabot Docker container stack, type:

$ cd hadabot_main/docker

$ docker-compose up

- IOnce your docker is running, check your local built-in VS Code :

http://localhost:9123/
Now you ready for ROS2 !!
Good Luck
RBN-ROS2

You might also like