Debug a ROS2 python launch file

asked 2022-04-25 21:45:15 -0500

jeremya gravatar image

I’ve seen examples how to add launch prefix to attach gdb to ROS2 nodes from a launch file, but I’m interested in how people debug actual ROS2 python-based launch files. Do you use pdb? Do you use python with gdb? Do you somehow add console prints?

I’m looking for ways to get values of data within python-based ROS2 launch files at runtime.

edit retag flag offensive close merge delete