|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
Full state of one simulated ESC. More...
#include <esc_sim.h>
Data Fields | |
| const esc_profile_t * | p |
| esc_sim_cfg_t | c |
| esc_sim_mode_t | mode |
| bool | powered |
| uint32_t | on_ms |
| esc_throttle_t | pos |
| esc_throttle_t | entry |
| uint8_t | loop [ESC_SIM_LOOP_MAX] |
| uint8_t | loop_n |
| uint8_t | loop_i |
| uint8_t | rep |
| uint8_t | pulse [ESC_SIM_PULSE_MAX] |
| uint8_t | pulse_n |
| uint8_t | pulse_i |
| uint8_t | seg |
| uint32_t | seg_end |
| bool | menu_group |
| uint8_t | sounding |
| uint8_t | ended |
| uint32_t | ended_ms |
| uint8_t | item |
| uint8_t | pend_item |
| uint8_t | pend_value |
| uint8_t | pend_step |
| uint32_t | resets |
| uint32_t | menu_groups |
| bool | dropped |
| bool | tones_done |
| bool | hand_done |
| bool | answering |
| uint8_t | stored [256] |
| esc_throttle_t | stored_from [256] |
| uint32_t | stores |
| uint32_t | misplaced |
| uint32_t | lcg |
Full state of one simulated ESC.
| bool esc_sim_t::answering |
sounding the answer to it
| esc_sim_cfg_t esc_sim_t::c |
timing and fault settings
| bool esc_sim_t::dropped |
this beep draws nothing
| uint8_t esc_sim_t::ended |
the last menu group to end
| uint32_t esc_sim_t::ended_ms |
when that group ended
| esc_throttle_t esc_sim_t::entry |
where this power-up entered
| bool esc_sim_t::hand_done |
the person's action, this power-up
| uint8_t esc_sim_t::item |
VALUES: the item selected
| uint32_t esc_sim_t::lcg |
state of the noise generator
| uint8_t esc_sim_t::loop[ESC_SIM_LOOP_MAX] |
group numbers, in the loop
| uint8_t esc_sim_t::loop_i |
group sounding
| uint8_t esc_sim_t::loop_n |
groups in the loop
| bool esc_sim_t::menu_group |
the group is a menu entry
| uint32_t esc_sim_t::menu_groups |
menu groups sounded
| uint32_t esc_sim_t::misplaced |
stored from a position not the value's own
| esc_sim_mode_t esc_sim_t::mode |
current menu mode
| uint32_t esc_sim_t::on_ms |
when the supply came on
| const esc_profile_t* esc_sim_t::p |
the profile being followed
| uint8_t esc_sim_t::pend_item |
PENDING: what the move stores
| uint8_t esc_sim_t::pend_step |
PENDING: the store moves made
| uint8_t esc_sim_t::pend_value |
PENDING: the value to store
| esc_throttle_t esc_sim_t::pos |
stick position
| bool esc_sim_t::powered |
supply on
| uint8_t esc_sim_t::pulse[ESC_SIM_PULSE_MAX] |
1 long, 0 short
| uint8_t esc_sim_t::pulse_i |
index of the pulse sounding
| uint8_t esc_sim_t::pulse_n |
pulses in the group
| uint8_t esc_sim_t::rep |
repeats done
| uint32_t esc_sim_t::resets |
reset items taken
| uint32_t esc_sim_t::seg_end |
when the current segment ends
| uint8_t esc_sim_t::sounding |
its number
| uint8_t esc_sim_t::stored[256] |
value stored for each item
| esc_throttle_t esc_sim_t::stored_from[256] |
the power-up's position
| uint32_t esc_sim_t::stores |
values stored
| bool esc_sim_t::tones_done |
the entry's own tones