Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Introduction to ROS Part 8 - Using Parameters to Configure ROS 2 Nodes

Digi-Key via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to implement ROS 2 parameters for creating flexible, configurable nodes without code recompilation in this 26-minute tutorial. Discover how to declare, read, and update parameters in both Python and C++ to control node behavior dynamically at runtime. Start with Python implementation by modifying a publisher node to accept parameters like message content and timer_period, enabling easy control over publication frequency and content. Master command-line parameter overrides and explore dynamic parameter updates during node execution for real-time tuning and live deployment scenarios. Progress to C++ implementation using rclcpp to create equivalent parameter handling and callback functionality. Practice creating adaptable nodes that can be easily reused and fine-tuned across different robotic applications and tasks. Access accompanying written guides, Docker images, and example code through provided GitHub repository links to reinforce your learning with hands-on practice.

Syllabus

00:00 Intro
0:43 Overview of ROS Parameters
1:15 Using ROS Parameters in Python
8:02 Changing Parameters at Runtime with Python
14:18 Using ROS Parameters in C++
17:13 Changing Parameters at Runtime with C++
25:27 Conclusion

Taught by

Digi-Key

Reviews

Start your review of Introduction to ROS Part 8 - Using Parameters to Configure ROS 2 Nodes

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.