class ROSLaunchChildHandler(ROSLaunchBaseHandler):
Constructor: ROSLaunchChildHandler(run_id, name, server_uri, pm, ...)
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 |
Undocumented |
Instance Variable | server |
Undocumented |
Instance Variable | server |
Undocumented |
Instance Variable | sigint |
Undocumented |
Instance Variable | sigterm |
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 |
@return: code, msg, list of node names @rtype: int, str, [str] |
Method | get |
@return: code, msg, pid @rtype: int, str, int |
Method | list |
@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 |
@return: dictionary of metadata about process. Keys vary by implementation @rtype: int, str, dict |
Instance Variable | logger |
Undocumented |
@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
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] ]
log message to log file and roslaunch server @param level: log level @type level: int @param message: message to log @type message: str