Public Member Functions | Private Member Functions | Private Attributes
pr2_hardware_test_monitor.ethercat_listener.EthercatListener Class Reference
Inheritance diagram for pr2_hardware_test_monitor.ethercat_listener.EthercatListener:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def check_ok
def create
def halt
def reset

Private Member Functions

def _cal_cb
def _diag_cb
def _is_dropping_pkts
def _motors_cb
def _update_drops
def _update_encoder_errors

Private Attributes

 _cal
 _cal_sub
 _device_name_re
 _diag_sub
 _diag_update_time
 _dropped_times
 _drops_per_hour
 _ecat_sub
 _encoder_errors_cnt
 _encoder_errors_detected
 _expected_devices
 _halt_motors
 _halt_motors2
 _incorrect_devices
 _last_encoder_errors_update
 _mutex
 _net_drops
 _ok
 _params
 _reset_motors
 _srv_ok
 _update_time

Detailed Description

Definition at line 62 of file ethercat_listener.py.


Constructor & Destructor Documentation

Definition at line 63 of file ethercat_listener.py.


Member Function Documentation

Definition at line 241 of file ethercat_listener.py.

Definition at line 219 of file ethercat_listener.py.

Check if we're dropping packets. 
A drop is true if we've had more than 10 dropped packets in last hour.
 
@return bool : True if dropping packets

Definition at line 250 of file ethercat_listener.py.

Definition at line 245 of file ethercat_listener.py.

Definition at line 151 of file ethercat_listener.py.

Check for encoder errors for every motor. 

Updates cache of encoder errors. Reports encoder error detected if
it can't find the number of encoder errors, or if encoder errors count
increases.

Definition at line 182 of file ethercat_listener.py.

Definition at line 265 of file ethercat_listener.py.

Definition at line 91 of file ethercat_listener.py.

Definition at line 125 of file ethercat_listener.py.

Definition at line 141 of file ethercat_listener.py.


Member Data Documentation

Definition at line 63 of file ethercat_listener.py.

Definition at line 91 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 91 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 91 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 91 of file ethercat_listener.py.

Definition at line 91 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.py.

Definition at line 91 of file ethercat_listener.py.

Definition at line 91 of file ethercat_listener.py.

Definition at line 63 of file ethercat_listener.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