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

One voltage step's results. More...

#include <servo_test.h>

Data Fields

float set_v
bool brownout
bool begun
bool done
servo_test_mean_t v
float v_min
servo_test_mean_t idle
float idle_sq
float noise_a
float move_a
servo_test_mean_t move
servo_test_mean_t hold [2]
float move_peak_a
float peak_a
uint32_t travel_max_ms
uint32_t travel_sum_ms
uint16_t travels
uint16_t moves
uint16_t no_rise
uint16_t timeouts
bool moved
uint16_t enc_moves
uint16_t enc_travels
uint16_t enc_unmoved
uint16_t enc_late
uint32_t enc_travel_sum_ms
uint32_t enc_travel_max_ms
uint16_t enc_end_ref [2]
servo_test_mean_t enc_end_off [2]

Detailed Description

One voltage step's results.

Field Documentation

◆ begun

bool servo_test_step_t::begun

its set point was asked

◆ done

bool servo_test_step_t::done

ran to its end

◆ enc_late

uint16_t servo_test_step_t::enc_late

... that moved and did not settle

◆ enc_moves

uint16_t servo_test_step_t::enc_moves

counted moves with a start angle

◆ enc_travels

uint16_t servo_test_step_t::enc_travels

... that settled

◆ enc_unmoved

uint16_t servo_test_step_t::enc_unmoved

... whose angle never moved

◆ hold

servo_test_mean_t servo_test_step_t::hold[2]

at the low end, at the high end

◆ idle

servo_test_mean_t servo_test_step_t::idle

the idle readings

◆ idle_sq

float servo_test_step_t::idle_sq

the idle readings' squares, summed

◆ move

servo_test_mean_t servo_test_step_t::move

the readings while travelling

◆ move_a

float servo_test_step_t::move_a

the threshold, once IDLE is over

◆ move_peak_a

float servo_test_step_t::move_peak_a

the reading of the largest magnitude while travelling; on the INA3221 the 1ms sample

◆ moved

bool servo_test_step_t::moved

movement seen in any move

◆ moves

uint16_t servo_test_step_t::moves

moves counted

◆ no_rise

uint16_t servo_test_step_t::no_rise

counted moves with no movement seen: unseen, neither timed nor late

◆ noise_a

float servo_test_step_t::noise_a

the idle readings' standard deviation

◆ peak_a

float servo_test_step_t::peak_a

likewise, of every reading after SETTLE

◆ timeouts

uint16_t servo_test_step_t::timeouts

counted moves with movement that did not arrive: late

◆ travel_max_ms

uint32_t servo_test_step_t::travel_max_ms

the longest travel of a move that arrived

◆ travel_sum_ms

uint32_t servo_test_step_t::travel_sum_ms

and the sum of their travels

◆ travels

uint16_t servo_test_step_t::travels

moves that arrived

◆ v

servo_test_mean_t servo_test_step_t::v

the voltage after SETTLE

◆ v_min

float servo_test_step_t::v_min

the lowest voltage after SETTLE, while v holds a reading


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