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 | |
_diag_sub | |
_diag_update_time | |
_dropped_times | |
_drops_per_hour | |
_ecat_sub | |
_encoder_errors_cnt | |
_encoder_errors_detected | |
_halt_motors | |
_halt_motors2 | |
_last_encoder_errors_update | |
_mutex | |
_net_drops | |
_ok | |
_reset_motors | |
_srv_ok | |
_update_time |
Definition at line 60 of file ethercat_listener.py.
def pr2_hardware_test_monitor::ethercat_listener::EthercatListener::__init__ | ( | self | ) |
Definition at line 61 of file ethercat_listener.py.
def pr2_hardware_test_monitor::ethercat_listener::EthercatListener::_cal_cb | ( | self, | ||
msg | ||||
) | [private] |
Definition at line 215 of file ethercat_listener.py.
def pr2_hardware_test_monitor::ethercat_listener::EthercatListener::_diag_cb | ( | self, | ||
msg | ||||
) | [private] |
Definition at line 205 of file ethercat_listener.py.
def pr2_hardware_test_monitor::ethercat_listener::EthercatListener::_is_dropping_pkts | ( | self | ) | [private] |
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 224 of file ethercat_listener.py.
def pr2_hardware_test_monitor::ethercat_listener::EthercatListener::_motors_cb | ( | self, | ||
msg | ||||
) | [private] |
Definition at line 219 of file ethercat_listener.py.
def pr2_hardware_test_monitor::ethercat_listener::EthercatListener::_update_drops | ( | self, | ||
stat, | ||||
now | ||||
) | [private] |
Definition at line 137 of file ethercat_listener.py.
def pr2_hardware_test_monitor::ethercat_listener::EthercatListener::_update_encoder_errors | ( | self, | ||
stat | ||||
) | [private] |
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 168 of file ethercat_listener.py.
def pr2_hardware_test_monitor::ethercat_listener::EthercatListener::check_ok | ( | self | ) |
Definition at line 239 of file ethercat_listener.py.
def pr2_hardware_test_monitor::ethercat_listener::EthercatListener::create | ( | self, | ||
params | ||||
) |
Definition at line 82 of file ethercat_listener.py.
def pr2_hardware_test_monitor::ethercat_listener::EthercatListener::halt | ( | self | ) |
Definition at line 111 of file ethercat_listener.py.
def pr2_hardware_test_monitor::ethercat_listener::EthercatListener::reset | ( | self | ) |
Definition at line 127 of file ethercat_listener.py.
Definition at line 64 of file ethercat_listener.py.
Definition at line 104 of file ethercat_listener.py.
Definition at line 106 of file ethercat_listener.py.
Definition at line 67 of file ethercat_listener.py.
Definition at line 71 of file ethercat_listener.py.
Definition at line 80 of file ethercat_listener.py.
Definition at line 102 of file ethercat_listener.py.
Definition at line 78 of file ethercat_listener.py.
Definition at line 75 of file ethercat_listener.py.
Definition at line 97 of file ethercat_listener.py.
Definition at line 100 of file ethercat_listener.py.
pr2_hardware_test_monitor::ethercat_listener::EthercatListener::_last_encoder_errors_update [private] |
Definition at line 76 of file ethercat_listener.py.
Definition at line 62 of file ethercat_listener.py.
Definition at line 73 of file ethercat_listener.py.
Definition at line 65 of file ethercat_listener.py.
Definition at line 95 of file ethercat_listener.py.
Definition at line 86 of file ethercat_listener.py.
Definition at line 66 of file ethercat_listener.py.