Package roslaunch :: Module child :: Class ROSLaunchChild
[frames] | no frames]

Class ROSLaunchChild

source code

object --+
         |
        ROSLaunchChild

ROSLaunchChild infrastructure.

This must be called from the Python Main thread due to signal registration.

Instance Methods
str
__init__(self, run_id, name, server_uri, sigint_timeout=15.0, sigterm_timeout=2.0)
Startup roslaunch remote client XML-RPC services.
source code
 
run(self)
Runs child.
source code
 
shutdown(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, run_id, name, server_uri, sigint_timeout=15.0, sigterm_timeout=2.0)
(Constructor)

source code 

Startup roslaunch remote client XML-RPC services. Blocks until shutdown

Parameters:
  • run_id (str) - UUID of roslaunch session
  • name (str) - name of remote client
  • server_uri (str) - XML-RPC URI of roslaunch server
  • sigint_timeout (float) - The SIGINT timeout used when killing nodes (in seconds).
  • sigterm_timeout (float) - The SIGTERM timeout used when killing nodes if SIGINT does not stop the node ( in seconds).
Returns: str
XML-RPC URI
Overrides: object.__init__

run(self)

source code 

Runs child. Blocks until child processes exit.