Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
pr2_hardware_test_monitor.pr2_hw_monitor.TestMonitor Class Reference

List of all members.

Public Member Functions

def __init__
def init_ok
def publish_status

Public Attributes

 halt_srv
 reset_srv

Private Member Functions

def _check_status
def _halt_listeners
def _halt_test
def _on_heartbeat
def _reset_listeners
def _reset_state
def _reset_test

Private Attributes

 _diag_pub
 _errors
 _heartbeat_halted
 _heartbeat_sub
 _heartbeat_time
 _latched_lvl
 _listeners
 _listeners_ok
 _mutex
 _snapshot_pub
 _start_time
 _status_pub
 _was_ok

Detailed Description

TestMonitor class loads listeners, and polls them to check for status updates on the test

Definition at line 111 of file pr2_hw_monitor.py.


Constructor & Destructor Documentation

Definition at line 116 of file pr2_hw_monitor.py.


Member Function Documentation

Definition at line 209 of file pr2_hw_monitor.py.

Halt all listeners. Needs mutex.

Definition at line 197 of file pr2_hw_monitor.py.

Service callback for "halt_test"

Definition at line 178 of file pr2_hw_monitor.py.

Definition at line 153 of file pr2_hw_monitor.py.

Reset all listeners. Needs mutex.

Definition at line 187 of file pr2_hw_monitor.py.

Reset state of monitor for startup or on reset. Needs mutex

Definition at line 156 of file pr2_hw_monitor.py.

Service callback for "reset_test"

Definition at line 168 of file pr2_hw_monitor.py.

Returns whether the monitor initialized correctly. Used in unit tests.

Definition at line 147 of file pr2_hw_monitor.py.

Called at 1Hz. Polls listeners, publishes diagnostics, test_status.

Definition at line 293 of file pr2_hw_monitor.py.


Member Data Documentation

Definition at line 116 of file pr2_hw_monitor.py.

Definition at line 158 of file pr2_hw_monitor.py.

Definition at line 116 of file pr2_hw_monitor.py.

Definition at line 116 of file pr2_hw_monitor.py.

Definition at line 116 of file pr2_hw_monitor.py.

Definition at line 158 of file pr2_hw_monitor.py.

Definition at line 116 of file pr2_hw_monitor.py.

Definition at line 116 of file pr2_hw_monitor.py.

Definition at line 116 of file pr2_hw_monitor.py.

Definition at line 116 of file pr2_hw_monitor.py.

Definition at line 158 of file pr2_hw_monitor.py.

Definition at line 116 of file pr2_hw_monitor.py.

Definition at line 158 of file pr2_hw_monitor.py.

Definition at line 116 of file pr2_hw_monitor.py.

Definition at line 116 of file pr2_hw_monitor.py.


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


pr2_hardware_test_monitor
Author(s): Kevin Watts
autogenerated on Sat Dec 28 2013 17:54:19