rosh overview: Roshlets | Basics | Messages | Parameters | Topics | Services | Nodes | Topic Tools | Packages | Bags | Bagys | roslaunch


Launching nodes

The Node class lets you configure nodes that you wish to run much in the same way the roslaunch <node> tag does. You can then run these nodes using the launch() command, e.g.

l = [Node('test_ros', '') for n in xrange(0, 10)]
procs = [launch(x) for x in l]

You can also pass in package and node names directly to launch(), e.g.:

launch('test_ros', '')

You can optionally pass in arguments:

launch('test_ros', 'add_two_ints_clients', [1, 2])

If the node name is not supplied, the package name is used, e.g.:


Launching files

Launch files can be launched by accessing them through the packages interface. For example:


Wiki: rosh/Overview/roslaunch (last edited 2014-11-06 20:39:30 by DanLazewatsky)