Public Member Functions | Public Attributes
segbot_sensors.diagnostics.Diagnostics Class Reference

List of all members.

Public Member Functions

def __init__
def publish
def update

Public Attributes

 devices
 lock
 pub
 timer

Detailed Description

ROS diagnostics interface for the Arduino device driver node. 

Definition at line 43 of file diagnostics.py.


Constructor & Destructor Documentation

def segbot_sensors.diagnostics.Diagnostics.__init__ (   self,
  topic = '/diagnostics' 
)

Definition at line 46 of file diagnostics.py.


Member Function Documentation

Publish current diagnostics status once a second.

Runs in a separate timer thread, so locking is required.

:param event: rospy.TimerEvent for this call

Definition at line 55 of file diagnostics.py.

def segbot_sensors.diagnostics.Diagnostics.update (   self,
  status 
)
Update device status.

:param status: New status for some device, replaces any
    previous status.
:type status: diagnostic_msgs/DiagnosticStatus

Definition at line 68 of file diagnostics.py.


Member Data Documentation

Definition at line 46 of file diagnostics.py.

Definition at line 46 of file diagnostics.py.

Definition at line 46 of file diagnostics.py.

Definition at line 46 of file diagnostics.py.


The documentation for this class was generated from the following file:


segbot_sensors
Author(s): Piyush Khandelwal
autogenerated on Fri Aug 28 2015 13:03:00