|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The stick class's state: the profile list, the picked profile, the run, the warning, the search, the manual steps and the rectangles the presses are matched against. More...
#include <esc_stick_panel_int.h>
Data Fields | |
| int | level |
| sp_maker_t | makers [SP_MAX] |
| sp_row_t | rows_m [SP_MODELS] |
| Models of the open maker on level 1, by current, voltage and name. | |
| const char * | maker |
| int | count |
| int | runnable |
| int | scroll |
| int | bscroll |
| int | model |
| const esc_profile_t * | p |
| int | pick [256] |
| Per item: -1 keeps the item, else the index of the value to store. | |
| int | iscroll |
| int | picked |
| char | note [SP_NOTE] |
| bool | could |
| bool | warn |
| bool | warn_down |
| uint8_t | warn_id |
| ui_hold_t | hold |
| bool | timing |
| int | tscroll |
| int | tpicked |
| ui_keypad_t | kp |
| int | kp_idx |
| uint32_t | kp_rev |
| esc_stick_t | run |
| bool | shown |
| uint32_t | runs |
| uint32_t | sig |
| What the progress showed last, to redraw on a change. | |
| uint32_t | built_key |
| uint32_t | builds |
| uint32_t | now_ms |
| uint32_t | stops |
| uint32_t | pressed |
| bool | armed |
| bool | link_up |
| bool | bind_read |
| uint8_t | throttle_mask |
| char | find [SP_FIND_MAX+1] |
| char | find_was [SP_FIND_MAX+1] |
| The pattern when the keyboard opened; CANCEL restores it. | |
| ui_textkey_t | tk |
| uint32_t | tk_rev |
| gfx_rect_t | find_box |
| gfx_rect_t | find_clr |
| esc_stick_light_t | light |
| bool | green |
| motor_cmd_t | q [SP_QUEUE] |
| Commands the run asked for and the application has not taken, SP_QUEUE at most. | |
| int | qn |
| bool | sent_arm |
| bool | sent_supply |
| float | sent_pct |
| bool | hand_open |
| const esc_profile_t * | hand_p |
| int | hand_model |
| Model the pop-up was opened for. | |
| bool | was_running |
| bool | warn_read |
| bool | sup_have |
| bool | sup_live |
| bool | sup_off_known |
| bool | sup_gate |
| bool | sup_off_drawn |
| What a result last showed of the supply's off state. | |
| uint32_t | sup_at |
| uint32_t | sup_off_since |
| uint8_t | hand_seen [SP_MAX/8] |
| Per profile, one bit: its manual steps were shown. | |
| gfx_rect_t | rows [SP_ROWS] |
| gfx_rect_t | list_up |
| gfx_rect_t | list_dn |
| gfx_rect_t | hold_btn |
| gfx_rect_t | cancel_btn |
| gfx_rect_t | hand_btn |
| gfx_rect_t | steps_btn |
| gfx_rect_t | timing_btn |
| gfx_rect_t | hand_res |
| MANUAL INTERVENTION REQUIRED on a run's result: in the foot row, left of OK; hand_btn is its place on the profile's page. | |
The stick class's state: the profile list, the picked profile, the run, the warning, the search, the manual steps and the rectangles the presses are matched against.
| bool stick_t::armed |
whether the bench is ARMED
| bool stick_t::bind_read |
whether the output binding is read
| int stick_t::bscroll |
makers' scroll kept while a maker is open
| uint32_t stick_t::builds |
times the list has been built
| uint32_t stick_t::built_key |
sp_list_key() when the list was built
| gfx_rect_t stick_t::cancel_btn |
CANCEL
| bool stick_t::could |
whether RUN could start as last drawn
| int stick_t::count |
entries the level shows
| char stick_t::find[SP_FIND_MAX+1] |
the search pattern the list shows
| gfx_rect_t stick_t::find_box |
search field
| gfx_rect_t stick_t::find_clr |
X button in the search field
| bool stick_t::green |
whether the green lens lit at the last tick
| gfx_rect_t stick_t::hand_btn |
MANUAL INTERVENTION REQUIRED
| bool stick_t::hand_open |
whether the profile's manual steps pop-up shows
| const esc_profile_t* stick_t::hand_p |
the profile the pop-up shows
| ui_hold_t stick_t::hold |
hold counter of the warning's button
| gfx_rect_t stick_t::hold_btn |
HOLD TO RUN
| int stick_t::iscroll |
first item shown on the profile page
| ui_keypad_t stick_t::kp |
TIMING's keypad
| int stick_t::kp_idx |
the row of sp_settings_list it types
| uint32_t stick_t::kp_rev |
its revision as the page last followed it
| int stick_t::level |
list level: 0 makers, 1 the models of one maker
| esc_stick_light_t stick_t::light |
the stack light's state machine
| bool stick_t::link_up |
whether the IOmcu link is up
| gfx_rect_t stick_t::list_dn |
page-down key
| gfx_rect_t stick_t::list_up |
page-up key
| const char* stick_t::maker |
name of the maker open on level 1
| sp_maker_t stick_t::makers[SP_MAX] |
makers on level 0, alphabetical, SP_MAX at most
| int stick_t::model |
the page's model, -1 for none
| char stick_t::note[SP_NOTE] |
why RUN cannot start, SP_NOTE bytes; "" when it can
| uint32_t stick_t::now_ms |
bench time of the last tick, ms
| const esc_profile_t* stick_t::p |
profile picked, NULL for none
| int stick_t::picked |
item picked, -1 for none
| uint32_t stick_t::pressed |
presses taken since the last tick
| int stick_t::qn |
commands queued
| gfx_rect_t stick_t::rows[SP_ROWS] |
list rows
| esc_stick_t stick_t::run |
the engine's run
| int stick_t::runnable |
of those, entries that run
| uint32_t stick_t::runs |
runs started since boot
| int stick_t::scroll |
first entry shown
| bool stick_t::sent_arm |
whether the run's ARM went out
| float stick_t::sent_pct |
last supply percentage sent
| bool stick_t::sent_supply |
whether the run's supply command went out
| bool stick_t::shown |
whether the run's result is still on screen
| gfx_rect_t stick_t::steps_btn |
manual steps
| uint32_t stick_t::stops |
STOP count the application last gave
| uint32_t stick_t::sup_at |
bench time of the newest reading, ms
| bool stick_t::sup_gate |
whether the supply gates a step
| bool stick_t::sup_have |
whether a supply reading exists
| bool stick_t::sup_live |
whether the output is live
| bool stick_t::sup_off_known |
whether the output has read off
| uint32_t stick_t::sup_off_since |
bench time the output began reading off, ms
| uint8_t stick_t::throttle_mask |
channels bound as a throttle, one bit each
| bool stick_t::timing |
whether the TIMING page shows
| gfx_rect_t stick_t::timing_btn |
TIMING
| ui_textkey_t stick_t::tk |
the search keyboard
| uint32_t stick_t::tk_rev |
keyboard revision last drawn
| int stick_t::tpicked |
TIMING row picked, -1 for none
| int stick_t::tscroll |
first TIMING row shown
| bool stick_t::warn |
whether the RUN warning shows
| bool stick_t::warn_down |
whether the warning's hold button is down
| uint8_t stick_t::warn_id |
id of the warning's hold
| bool stick_t::warn_read |
whether ALL STEPS were read over the warning
| bool stick_t::was_running |
whether the run was under way at the last tick