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

Take a look at the ExecuteProcess Action (https://github.com/ros2/launch/blob/master/launch/launch/actions/execute_process.py#L89)

In fact, the Node Action you're probably already using in the python launch script wraps ExecuteProcess.

ExecuteProcess(cmd=['ping', '192.168.1.1'],
               output='screen'),