rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
servo_move_t Struct Reference

Data Fields

servo_move_cfg_t cfg
servo_move_state_t state
bool left
uint8_t run_n
float run_lo
float run_hi
uint32_t run_t
float fbuf [SERVO_MOVE_FILTER_MAX]
int8_t fclip [SERVO_MOVE_FILTER_MAX]
uint8_t f_n
uint8_t f_head
uint32_t moved_t
uint32_t end_t
float sum
uint32_t n
float peak
bool clipped

Field Documentation

◆ clipped

bool servo_move_t::clipped

a clipped sample among them: the mean and the peak lack it

◆ end_t

uint32_t servo_move_t::end_t

the arrival, or when the window ran out

◆ left

bool servo_move_t::left

since movement, above ref_a by the threshold: not there yet

◆ moved_t

uint32_t servo_move_t::moved_t

the first sample of the movement

◆ peak

float servo_move_t::peak

the highest of them, 0 for none

◆ run_t

uint32_t servo_move_t::run_t

the first of them

◆ sum

float servo_move_t::sum

valued samples from the command to the arrival. The sample that closes the move is not in it; for SETTLED the settle_n - 1 samples of the run before that one are


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