Ask Your Question

rosrun or roslaunch

asked 2014-04-01 21:33:53 -0500

Maya gravatar image


Easy question does roslaunch just execute a set of rosrun or is it slightly different ? I couldn't find it in the doc... I'm asking that because I'm under the impression that my node run slower when launch with a roslaunch then with a rosrun.


edit retag flag offensive close merge delete


I had the same impression, I made a .launch file to calibrate camera, but It were very slower. When I run the same nodes using rosrun for each node it is really faster. But I don't know how to solve it.

henriquejsfj gravatar image henriquejsfj  ( 2018-01-16 11:39:03 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-01 22:27:10 -0500

Wolf gravatar image

updated 2014-04-02 01:21:50 -0500

Startup might be slower, I think it should not be slower after roslaunch and all created processes have are detached and up. I am not into the roslaunch implementation but I have not had this impression so far. You can use rosnode ping /your_node or if your node publishes anything you can use rostopic hz /your_topic (preferred) in order to "verify" your impression...

edit flag offensive delete link more

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: 2014-04-01 21:33:53 -0500

Seen: 680 times

Last updated: Apr 02 '14