Home | Trees | Indices | Help |
---|
|
object --+ | threading._Verbose --+ | threading.Thread --+ | Discoverer
The class to publish the current state of the ROS master.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Methods | |||
|
Class Variables | |
HEARTBEAT_FMT =
|
|
HEARTBEAT_HZ = 2
|
|
MEASUREMENT_INTERVALS = 5
|
|
REMOVE_AFTER = 300
|
|
ROSMASTER_HZ = 1
|
|
TIMEOUT_FACTOR = 1.4
|
|
VERSION = 2
|
Properties | |
Inherited from Inherited from |
Method Details |
Initialize method for the Discoverer class
|
The method test periodically the state of the ROS master. The new state will be published as heartbeat messages. |
@return: parses the hearbeat message and return a tuple of version and values corresponding with current version of message. @see L{Discoverer.HEARTBEAT_FMT} @raise Exception on invalid message @rtype: C{(unsigned char, tuple corresponding to L{Discoverer.HEARTBEAT_FMT})} |
Publishes the given state to the ROS network. This method is thread safe.
|
Publishes the link quality states to the ROS network.This method is thread safe.
|
The run method is used for periodic send small multicast messages. This messages simulates the heartbeat and are used to detect other running nodes associated with ROS master.
|
This method will be called by a timer and has two jobs:
See Also:
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Apr 12 02:00:09 2013 | http://epydoc.sourceforge.net |