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

rosrun or roslaunch

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

Maya gravatar image

Hellow,

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.

Thanks.

edit retag flag offensive close merge delete

Comments

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
1

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

Question Tools

1 follower

Stats

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

Seen: 843 times

Last updated: Apr 02 '14