class documentation

XML-RPC API implementation for child roslaunches NOTE: the client handler runs a process monitor so that it can track processes across requests

Method __init__ @param server_uri: XML-RPC URI of server @type server_uri: str @param pm: process monitor to use @type pm: L{ProcessMonitor} @param sigint_timeout: The SIGINT timeout used when killing nodes (in seconds)...
Method launch Launch the roslaunch XML file. Because this is a child roslaunch, it will not set parameters nor manipulate the master. Call blocks until launch is complete @param xml: roslaunch XML file to launch @type xml: str @return: code, msg, [ [ successful launches], [failed launches] ] @rtype: int, str, [ [str], [str] ]...
Method shutdown @return: code, msg, ignore @rtype: int, str, int
Instance Variable name Undocumented
Instance Variable pm Undocumented
Instance Variable run_id Undocumented
Instance Variable server Undocumented
Instance Variable server_uri Undocumented
Instance Variable sigint_timeout Undocumented
Instance Variable sigterm_timeout Undocumented
Method _log log message to log file and roslaunch server @param level: log level @type level: int @param message: message to log @type message: str
Method _shutdown xmlrpc.XmlRpcHandler API: inform handler of shutdown @param reason: human-readable shutdown reason @type reason: str

Inherited from ROSLaunchBaseHandler:

Method get_node_names @return: code, msg, list of node names @rtype: int, str, [str]
Method get_pid @return: code, msg, pid @rtype: int, str, int
Method list_processes @return: code, msg, process list. Process list is two lists, where first list of active process names along with the number of times that process has been spawned. Second list contains dead process names and their spawn count...
Method process_info @return: dictionary of metadata about process. Keys vary by implementation @rtype: int, str, dict
Instance Variable logger Undocumented
def __init__(self, run_id, name, server_uri, pm, sigint_timeout=DEFAULT_TIMEOUT_SIGINT, sigterm_timeout=DEFAULT_TIMEOUT_SIGTERM):

@param server_uri: XML-RPC URI of server @type server_uri: str @param pm: process monitor to use @type pm: L{ProcessMonitor} @param sigint_timeout: The SIGINT timeout used when killing nodes (in seconds). @type sigint_timeout: float @param sigterm_timeout: The SIGTERM timeout used when killing nodes if SIGINT does not stop the node (

in seconds).

@type sigterm_timeout: float @raise RLException: If parameters are invalid

def launch(self, launch_xml):

Launch the roslaunch XML file. Because this is a child roslaunch, it will not set parameters nor manipulate the master. Call blocks until launch is complete @param xml: roslaunch XML file to launch @type xml: str @return: code, msg, [ [ successful launches], [failed launches] ] @rtype: int, str, [ [str], [str] ]

def shutdown(self):

@return: code, msg, ignore @rtype: int, str, int

name =

Undocumented

run_id =

Undocumented

server =

Undocumented

server_uri =

Undocumented

sigint_timeout =

Undocumented

sigterm_timeout =

Undocumented

def _log(self, level, message):

log message to log file and roslaunch server @param level: log level @type level: int @param message: message to log @type message: str

def _shutdown(self, reason):

xmlrpc.XmlRpcHandler API: inform handler of shutdown @param reason: human-readable shutdown reason @type reason: str