ROS2 launch nodes by python script

asked 2020-11-18 05:39:41 -0600

rostyv gravatar image

Hi everybody. I've a question: is there a way to launch nodes without using the "ros2 launch package_name launch_file" command? In particular, I'd like to launch a node directly from another node script written in Python. For example by using LaunchDescription structure with the informations related to the node I want to launch. So is there a python function in ROS2 libraries for accomplishing this? Thank you

edit retag flag offensive close merge delete