Home | Trees | Indices | Help |
---|
|
object --+ | MasterInfo
The MasterInfo class stores informations about a ROS master. Not thread safe!
Instance Methods | |||
|
|||
NodeInfo or None
|
|
||
NodeInfo or None
|
|
||
NodeInfo or None
|
|
||
ServiceInfo or None
|
|
||
boolean
|
|
||
|
|||
(boolean, boolean) |
|
||
(float, float, str, str, [ [str,[str] ] ], [ [str,[str] ] ], [
[str,[str] ] ], [ [str,str] ], [ [str,str,str,int,str] ], [
[str,str,str,str,str] ])
|
|
||
Inherited from |
Static Methods | |||
MasterInfo |
|
Instance Variables | |
check_ts the last time, when the state of the ROS master retrieved |
Properties | |
str
|
mastername Returns the name of the ROS master. |
str
|
masteruri Returns the URI of the ROS master. |
float
|
timestamp The timestamp when this MasterInfo was first time filled with the information. |
float
|
timestamp_local The timestamp when this MasterInfo was first time filled with the information. |
dict(str:NodeInfo, ...)
|
nodes Returns the dictionary with node names and corresponding instances of NodeInfo. |
[str, ...]
|
node_names Returns the list with node names |
[str, ...]
|
node_uris Returns the list with node URI's. |
dict(str:TopicInfo, ...)
|
topics Returns the dictionary with topic names and corresponding TopicInfo instances. |
[str, ...]
|
topic_names Returns the list with topic names. |
dict(str:ServiceInfo, ...)
|
services Returns the dictionary with service names and corresponding ServiceInfo instances. |
[str, ...]
|
service_names Returns the list with service names. |
[str, ...]
|
service_uris Returns the list with service URI's. |
Inherited from |
Method Details |
Creates a new instance of the MasterInfo. The mastername will be extracted from the masterui, if no name is given.
|
Creates a new instance of the MasterInfo from given list.
See Also: listedState() |
|
Returns the node, which name ends with given suffix |
|
|
Compares the master state with other master state. The timestamp will not be compared.
|
Compares the master state with other master state. The timestamp will not be compared.
|
Returns a extended roscore state.
|
Property Details |
masternameReturns the name of the ROS master. In most cases the ROS master name is the name of the host, where the ROS master running. Although it can differ.
|
masteruriReturns the URI of the ROS master.
|
timestampThe timestamp when this MasterInfo was first time filled with the information. See self.check_ts to get the time, when the information was compared with the data of ROS Master.
|
timestamp_localThe timestamp when this MasterInfo was first time filled with the information. See self.check_ts to get the time, when the information was compared with the data of ROS Master.
|
nodesReturns the dictionary with node names and corresponding instances of NodeInfo. |
node_namesReturns the list with node names
|
node_urisReturns the list with node URI's.
|
topicsReturns the dictionary with topic names and corresponding TopicInfo instances. |
topic_namesReturns the list with topic names.
|
servicesReturns the dictionary with service names and corresponding ServiceInfo instances.
|
service_namesReturns the list with service names.
|
service_urisReturns the list with service URI's.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Apr 12 02:00:09 2013 | http://epydoc.sourceforge.net |