Skip to content

LucasLagoeiro/ROS2-ExampleMulti-Thread

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of a Single and Multi Thread in ROS2 (Humble)

This repository have the objective to see the diference between Single-Thread and Multi-Thread.

Prerequisites

Installation

Mac OS X & Linux & Windows:

git clone https://github.com/LucasLagoeiro/Project-CCP130.git

After this you just need to compile in the workspace:

cd ros2_ws && colcon build

And run the code.

Run the code

This for Single-Thread:

ros2 run executors_exercises_pkg single-thread-executor_example_3_node 

And this for Multi-Thread:

ros2 run executors_exercises_pkg multi-thread-executor_example_3_node 

Diference Between Single-Thread and Multi-Thread

When you run both codes, you can barely see the difference between this two methods of Threads.

Single-Thread

Multi-Thread

Updates

  • 1.0.0
    • Workspace with one example of single-thread and multi-thread.

Meta

The ideia of this repository is to help people to develop projects in ROS2.

Lucas Lagoeiro - @DevLagoeiro - [email protected]

https://github.com/LucasLagoeiro

About

A simple example of Multi-Thread in ROS2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published