Home | Trees | Indices | Help |
---|
|
object --+ | ROSLaunchRunner
Runs a roslaunch. The normal sequence of API calls is launch() followed by spin(). An external thread can call stop(); otherwise the runner will block until an exit signal. Another usage is to call launch() followed by repeated calls to spin_once(). This usage allows the main thread to continue to do work while processes are monitored.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
([str], [str]) |
|
||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Add listener to list of listeners. Not threadsafe. Must be called before processes started.
|
Launch a single node locally. Remote launching is handled separately by the remote module. If node name is not assigned, one will be created for it.
|
Check for running node process.
|
Same as spin() but only does one cycle. must be run from the main thread. |
spin() must be run from the main thread. spin() is very important for roslaunch as it picks up jobs that the process monitor need to be run in the main thread. |
Stop the launch and all associated processes. not thread-safe. |
Run the launch. Depending on usage, caller should call spin_once or spin as appropriate after launch().
|
Run the test node. Blocks until completion or timeout.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Aug 28 12:33:34 2015 | http://epydoc.sourceforge.net |