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

Can you launch non-ROS programs from a .launch file?

asked 2011-02-21 23:15:44 -0600

Angelica gravatar image

updated 2011-02-21 23:16:10 -0600

My workflow requires launching ROS nodes as well as other programs. This results in the "many terminal" problem :) Is there a way to launch these non-ROS executables from a launch file, too?

edit retag flag offensive close merge delete

Comments

#q272267 has an answer similar to both of these but with more details.

lucasw gravatar image lucasw  ( 2017-10-05 10:50:17 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
3

answered 2011-02-22 02:08:41 -0600

dornhege gravatar image

roslaunch might add extra parameters like __name and __log. The non-ros executable should be able to handle those (by ignoring)

edit flag offensive delete link more
1

answered 2011-12-07 03:37:57 -0600

Mac gravatar image

Another possibility would be to write a little wrapper program that calls whatever program you'd like; by using the ros init stuff, it could parse out the roslaunch arguments, and do what you want.

edit flag offensive delete link more

Comments

The aliencontrol ROS package is a generic wrapper that can launch any external script or executable. You might want to give it a try.

aschaefer gravatar image aschaefer  ( 2018-10-24 17:49:32 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2011-02-21 23:15:44 -0600

Seen: 846 times

Last updated: Dec 07 '11