ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

ROS2 launch external (non ROS) program

asked 2021-09-16 07:32:06 -0600

JanWeber gravatar image


I am looking for a possibility to start a non-ROS program in ROS2 with a launchfile. For ROS1 there is aliencontrol. Is there something like this for ROS2? Or is it possible to start external programs from the Python launchfile?

Thank you! Jan

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-09-22 08:56:48 -0600

ChuiV gravatar image

Take a look at the ExecuteProcessAction (

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

ExecuteProcess(cmd=['ping', ''],
edit flag offensive delete link more


please consider ticking the answer to be correct if it has solved your problem.

flo gravatar image flo  ( 2021-09-23 15:12:06 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2021-09-16 07:32:06 -0600

Seen: 120 times

Last updated: Sep 22 '21