|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
Data Fields | |
| servo_limrun_cfg_t | cfg |
| servo_limrun_state_t | state |
| servo_limrun_phase_t | phase |
| servo_limrun_verdict_t | verdict |
| servo_limrun_why_t | why |
| servo_test_abort_t | test_why |
| uint32_t | start_ms |
| uint32_t | end_ms |
| uint32_t | phase_ms |
| bool | safe_asked |
| uint16_t | ctr_us |
| uint16_t | end_us [2] |
| servo_limit_t | lf |
| uint8_t | side |
| uint32_t | search_ms |
| uint16_t | cmd_us |
| bool | cmd_due |
| bool | enc_valid |
| float | enc_deg |
| servo_limrun_side_t | first [2] |
| servo_limrun_side_t | after [2] |
| servo_limrun_side_t | probe |
| bool | read_once |
| bool | dry |
| servo_limrun_servo_t | servo |
| uint16_t | cur [2] |
| uint16_t | pulse_now [3] |
| bool | pulse_op |
| bool | searched |
| uint16_t | want [2] |
| int8_t | reg_side [2] |
| bool | need [2] |
| bool | mapped |
| uint8_t | map_side |
| uint8_t | map_reg |
| uint8_t | map_tries |
| uint8_t | stage [2] |
| uint16_t | v0 [2] |
| uint16_t | v1 [2] |
| uint16_t | v2 [2] |
| int32_t | d0_dus [2] |
| int32_t | db_dus [2] |
| int32_t | d1_dus [2] |
| int8_t | probe_side |
| unsigned | writes |
| unsigned | write_ops |
| unsigned | sessions |
| bool | pulses_landed |
| bool | programmed |
| bool | have_win |
| uint32_t | last_win_ms |
| uint32_t | windows |
| bool | have_rail |
| uint16_t | rail_mv |
| bool | elevated |
| uint32_t | elevated_ms |
| bool | sup_watch |
| bool | sup_online |
| bool | sup_out |
| float | sup_v |
| float | sup_i |
| unsigned | out_line |
| bool | out_open |
| bool | out_end |
| bool | out_done |
| char | scratch [SERVO_TEST_LINE_MAX] |
| servo_limrun_do_t | pend |
| servo_limrun_side_t servo_limrun_t::after[2] |
the last check of each side
| uint16_t servo_limrun_t::cmd_us |
the command last asked
| uint16_t servo_limrun_t::cur[2] |
what the servo holds, register by register
| int32_t servo_limrun_t::d0_dus[2] |
the first search's free end from NEUTRAL
| int32_t servo_limrun_t::d1_dus[2] |
the overset search's; 0 not searched
| int32_t servo_limrun_t::db_dus[2] |
its first bound pulse from NEUTRAL
| bool servo_limrun_t::dry |
the read-only first session is under way
| servo_limrun_side_t servo_limrun_t::first[2] |
the first search of each side
| uint8_t servo_limrun_t::map_reg |
the register that write goes to
| uint8_t servo_limrun_t::map_side |
the side whose first write finds it
| uint8_t servo_limrun_t::map_tries |
registers tried for it
| bool servo_limrun_t::need[2] |
the side bound in the first search
| unsigned servo_limrun_t::out_line |
the next line of the report
| servo_limrun_side_t servo_limrun_t::probe |
the last probe
| int8_t servo_limrun_t::probe_side |
the side the next search looks at, -1 both
| bool servo_limrun_t::programmed |
a value differs from the servo's own, or a write failed once sent
| uint16_t servo_limrun_t::pulse_now[3] |
its NEUTRAL, PULSE LOWER, PULSE UPPER now
| bool servo_limrun_t::pulse_op |
the write under way is the pulse write
| bool servo_limrun_t::pulses_landed |
the pulses read back as 1000 and 2000us
| int8_t servo_limrun_t::reg_side[2] |
the side each register limits, -1 not known
| bool servo_limrun_t::safe_asked |
PH_SAFE: SAFE asked, after the return
| uint32_t servo_limrun_t::search_ms |
the search's start; it walks from SERVO_LIMRUN_RETURN_MS after it
| bool servo_limrun_t::searched |
the first search has begun
| servo_limrun_servo_t servo_limrun_t::servo |
as the first session read it
| uint8_t servo_limrun_t::side |
the side it searches
| uint8_t servo_limrun_t::stage[2] |
| bool servo_limrun_t::sup_online |
it answered
| bool servo_limrun_t::sup_out |
its output was on
| uint16_t servo_limrun_t::v0[2] |
the register's value at the read
| uint16_t servo_limrun_t::v1[2] |
the overset; 0 where it is left out
| uint16_t servo_limrun_t::v2[2] |
the final value, once known
| uint16_t servo_limrun_t::want[2] |
the write under way
| unsigned servo_limrun_t::write_ops |
writes sent, one that failed included
| unsigned servo_limrun_t::writes |
register values written