ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Each one had its own advantage. we generally use the roslaunch when we have multiple scripts to work. If you want to run the single script then rosrun is enough. The advantage of running these commands is, no need to worry about the path of script/s. you can run the command (rolaunch, rosrun) from anywhere.
there are other possibilities is also like python mynode.py
. So there is no harm to use the anyone mentioned.
2 | No.2 Revision |
Each one had its own advantage. we generally use the roslaunch when we have multiple scripts to work. If you want to run the single script then rosrun is enough. The advantage of running these commands is, no need to worry about the path of script/s. you can run the command (rolaunch, rosrun) from anywhere.
there are other possibilities is also like python mynode.py
. So there is no harm to use the anyone mentioned.
Yes, in case of rosservice
it can