
Public Member Functions | |
| def | ch_data_handler (self, rx_sensor_id, tx_sensor_id, timestamp, idata, qdata, target_detected, range_cm, amplitude) |
| def | device_msg_handler (self, s) |
| def | exception_handler (self, exception) |
| def | grv_data_handler (self, timestamp, grv_w, grv_x, grv_y, grv_z) |
| def | imu_data_handler (self, timestamp, acc_x, acc_y, acc_z, gyr_x, gyr_y, gyr_z) |
| def | pd_data_handler (self, sensor_id, timestamp, presence, rmin, rmax, score) |
| def | status_handler (self, timestamp, status, error_count) |
Subclass it to catch event and from the device.
Definition at line 93 of file control.py.
| def redswallow.control.DeviceControl.EventHandler.ch_data_handler | ( | self, | |
| rx_sensor_id, | |||
| tx_sensor_id, | |||
| timestamp, | |||
| idata, | |||
| qdata, | |||
| target_detected, | |||
| range_cm, | |||
| amplitude | |||
| ) |
Definition at line 98 of file control.py.
| def redswallow.control.DeviceControl.EventHandler.device_msg_handler | ( | self, | |
| s | |||
| ) |
Definition at line 110 of file control.py.
| def redswallow.control.DeviceControl.EventHandler.exception_handler | ( | self, | |
| exception | |||
| ) |
Definition at line 116 of file control.py.
| def redswallow.control.DeviceControl.EventHandler.grv_data_handler | ( | self, | |
| timestamp, | |||
| grv_w, | |||
| grv_x, | |||
| grv_y, | |||
| grv_z | |||
| ) |
Definition at line 107 of file control.py.
| def redswallow.control.DeviceControl.EventHandler.imu_data_handler | ( | self, | |
| timestamp, | |||
| acc_x, | |||
| acc_y, | |||
| acc_z, | |||
| gyr_x, | |||
| gyr_y, | |||
| gyr_z | |||
| ) |
Definition at line 104 of file control.py.
| def redswallow.control.DeviceControl.EventHandler.pd_data_handler | ( | self, | |
| sensor_id, | |||
| timestamp, | |||
| presence, | |||
| rmin, | |||
| rmax, | |||
| score | |||
| ) |
Definition at line 101 of file control.py.
| def redswallow.control.DeviceControl.EventHandler.status_handler | ( | self, | |
| timestamp, | |||
| status, | |||
| error_count | |||
| ) |
Definition at line 113 of file control.py.