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

YouTube

Introduction to ROS Part 9 - Launch Files

Digi-Key via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how ROS 2 launch files can dramatically improve how you manage and run multiple nodes in your robotic systems through this comprehensive 32-minute tutorial. Discover how to start entire node networks with a single command using launch files written in XML and Python, instead of launching each node individually through the terminal. Begin with a hands-on demonstration of a simple XML launch file that starts a publisher and multiple subscribers, complete with custom parameters, namespaces, and unique node names. Explore how to modify package.xml and CMakeLists.txt to support launch files and use tools like rqt_graph to verify your node connections. Progress to Python-based launch files, which offer more flexibility and logic than XML, and learn how to organize these files in a separate bringup package while configuring your nodes dynamically using YAML parameter files. Master the generate_launch_description() function and understand how it builds a LaunchDescription object that orchestrates the behavior of your nodes. Gain essential skills for declaring launch arguments, substituting file paths, and applying configurations at runtime—all crucial for building scalable ROS 2 systems. By completion, you'll be equipped to automate node orchestration, manage parameters across environments, and build reusable launch infrastructure for your ROS-based robotics projects.

Syllabus

0:00 Intro
0:57 Creating a Launch File with XML
6:06 XML Launch File with Parameters
11:04 Changing Node Names in the XML Launch File
13:10 Creating a Launch File with Python
20:17 Creating Launch Configurations with YAML
31:13 Conclusion

Taught by

Digi-Key

Reviews

Start your review of Introduction to ROS Part 9 - Launch Files

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.