|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The state of a capture of a FAST move. More...
#include <sense_sched.h>
Data Fields | |
| sense_cap_state_t | state |
| uint16_t | seq |
| sense_cap_arm_t | arm |
| uint32_t | edge_t |
| uint32_t | arm_t |
| bool | rise_owed |
| sense_cap_pre_t | pre [SENSE_CAP_FILTER_N] |
| uint8_t | pre_n |
| uint8_t | pre_head |
| uint32_t | move_t |
| uint32_t | arrive_t |
| int32_t | peak_ua |
| int32_t | mean_ua |
| uint32_t | samples |
| bool | clipped |
| servo_move_t | mv |
The state of a capture of a FAST move.
| sense_cap_arm_t sense_cap_t::arm |
how the capture was armed
| uint32_t sense_cap_t::arm_t |
the arm, 0.1ms
| uint32_t sense_cap_t::arrive_t |
edge to arrival, 0.1ms, when ARRIVED or SETTLED; 0 otherwise
| bool sense_cap_t::clipped |
a clipped sample: peak and mean lack it
| uint32_t sense_cap_t::edge_t |
the edge, 0.1ms
| int32_t sense_cap_t::mean_ua |
mean of the move's filtered samples
| uint32_t sense_cap_t::move_t |
edge to movement, 0.1ms, when ARRIVED, SETTLED or LATE; 0 otherwise
| int32_t sense_cap_t::peak_ua |
highest filtered sample of the move
| bool sense_cap_t::rise_owed |
the level before the command is FAST's, taken at the first sample past the edge
| uint32_t sense_cap_t::samples |
filtered samples with a value in the move
| uint16_t sense_cap_t::seq |
captures ended, modulo 65536