← Back to search

For robotics teachers: ROS2 Services in C++: Request-Response Communication for Robot Monitoring #6

The Construct Robotics Institute 1:19:33

664 views · 14 likes Watch on YouTube ↗

Services enable on-demand communication when you need specific information rather than continuous streams.

In this Open Class, you'll build a service server that queries LiDAR data to calculate distances on request, then create a client that periodically calls this service and handles responses asynchronously.


You will learn:

✅ Creating service servers that respond to distance queries from LiDAR data
Building service clients with asynchronous request handling and availability checks
✅ Understanding when to use request-response services versus continuous topic subscriptions
✅ Handling missing data, and service unavailability in robot monitoring applications

📁 *ROS project link: https://app.theconstruct.ai/l/70e49a12/
🤖️ *Robot Used: BotBot: https://www.theconstruct.ai/botbox-warehouse-lab/

Related courses:
* C++ for Robotics (Free): https://appv3.theconstruct.ai/courses/c-for-robotics-59/
* ROS2 Basics in 5 Days (C++): https://appv3.theconstruct.ai/courses/ros2-basics-in-5-days-c-325/


============================

[For Robotics Teachers Open Class], a weekly series of videos by The Construct Robotics Institute, aims to make robotics education easier by helping teachers teach a wide range of robotics topics through hands-on practice.

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 see how robotics teaching and hands-on practice come together in real time.

*Missed a session? Find recordings & ROSJECTs on https://app.theconstruct.ai/open-classes/*

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

Playback is via YouTube's official embedded player. Data from YouTube; Exumo is not affiliated with YouTube.