ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

From https://www.theconstructsim.com/launch-node-using-ros-program/

import roslaunch
node = roslaunch.core.Node("other_pkg", "pkg_executable")
launch = roslaunch.scriptapi.ROSLaunch()
launch.start()
script = launch.launch(node)

Couldn't find the cpp equivalent way though