ROS2 Multithreaded Executors and Callback Groups | Robotics Developers Open Class (Basics) #5
Автор: The Construct Robotics Institute
Загружено: 2026-01-21
Просмотров: 255
Описание:
Handling multiple robots becomes more efficient when the executor type and callback group configuration are chosen intentionally for the workload.
In this Open Class, you’ll build and compare three monitoring nodes that all subscribe to three robots’ LiDAR topics: a default single-threaded node where all callbacks share one mutually exclusive group, a multithreaded node using a single reentrant callback group to run scan callbacks in parallel, and a multithreaded node that isolates each robot and the timer in its own mutually exclusive group for fine‑grained control. Along the way, you will observe how heavy processing in callbacks impacts timing, how callback grouping changes concurrency behavior, and how to reason about performance when scaling to multi-robot fleets.
You will learn:
✅ Understanding default single-threaded executors and mutually exclusive callback groups in ROS 2 nodes.
✅ Creating multithreaded executors to process LiDAR callbacks from multiple robots in parallel.
✅ Configuring reentrant callback groups so multiple callbacks can execute simultaneously without blocking each other.
✅ Using multiple mutually exclusive callback groups to isolate robot-specific callbacks and timers while still benefiting from multithreading.
✅ Comparing behavior and performance across single-threaded, reentrant multithreaded, and multi-group multithreaded designs for robot monitoring applications
📁 *ROS project link: https://app.theconstruct.ai/l/70b8d921/
🤖️ *Robot Used: BotBot: https://www.theconstruct.ai/botbox-wa...
Related courses:
C++ for Robotics (Free): https://appv3.theconstruct.ai/courses...
ROS2 Basics in 5 Days (C++): https://appv3.theconstruct.ai/courses...
============================
Robotics Developers Open Class (Basics), a weekly free live-streaming event by The Construct Robotics Institute, aims to make robotics accessible to all.
Each session provides a ROS-based project (referred to as ROSJECTs 🦾 📁) for all attendees, including notebooks, code, and robot simulations. Led by ROS Expert Desire, you'll practice and develop robots in real-time.
Missed a session? Find recordings & ROSJECTs on https://app.theconstruct.ai/open-clas...
We're excited to share this series with you! If you have questions or want to explore new topics, drop us a comment below.
Cheers.
The Construct Robotics Institute | Where Your Robotics Career Happens
============================
👨🏫 Class Creator: Desire (ROS Tutor @The Construct Robotics Institute )
👩💻 Class cover designer: Sonia/Ruojun Wang (Marketing Assistant @The Construct Robotics Institute )
--
#ai #Robotics #ros #robot #ros2
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: