Home | Trees | Indices | Help |
---|
|
object --+ | MasterMonitor
This class provides methods to get the state from the ROS master using his RPC API and test for changes. Furthermore an XML-RPC server will be created to offer the complete current state of the ROS master by one method call.
getState()
RPC Methods:,
getListedMasterInfo() or getMasterContacts() as RPC:
masterInfo()
and masterContacts()
Instance Methods | |||
|
|||
|
|||
|
|||
MasterInfo |
|
||
|
|||
str or None
|
|
||
str or None
|
|
||
boolean
|
|
||
|
|||
Inherited from |
|||
RPC-methods | |||
---|---|---|---|
(float, float, str, str, [ [str,[str] ] ], [ [str,[str] ] ], [
[str,[str] ] ], [ [str,str] ], [ [str,str,int,str] ], [
[str,str,str,str] ])
|
|
||
(str, str, str, str, str)
|
|
Class Variables | |
MAX_PING_SEC = 10.0
|
Instance Variables | |
rpcport the port number of the RPC server |
Properties | |
Inherited from |
Method Details |
Initialize method. Creates an XML-RPC server on given port and starts this in its own thread.
|
Returns a extended roscore state.
|
Gets state from the ROS master through his RPC interface.
|
This method can be called to update the origin ROS master URI of the
nodes and services in new master_state. This is only need, if a
synchronization is running. The synchronization service will be detect
automatically by searching for the service ending with
|
Requests the ROS master URI from the ROS master through the RPC interface and returns it.
|
Returns the name of the master. If no name is set, the hostname of the ROS master URI will be extracted.
|
The RPC method called by XML-RPC server to request the master contact information.
|
Gets the state from the ROS master and compares it to the stored state. @param clear_cache Clears cache for ROS nodes and sevices. Is neaded on changes on remote hosts.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Apr 12 02:00:09 2013 | http://epydoc.sourceforge.net |