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

One ESC programming profile: its family, menu and steps. More...

#include <esc_profile.h>

Data Fields

const char * id
const char * brand
const char * family
esc_scheme_t scheme
esc_encoding_t encoding
esc_announce_t announce
esc_auto_t automatable
const char * automatable_note
esc_throttle_t entry_throttle
bool entry_after_power
uint32_t entry_hold_ms
esc_throttle_t select_throttle
uint32_t select_within_ms
esc_throttle_t value_select_throttle
 In a two-stage menu, the move that stores the value sounded, after select_throttle picked the item; ESC_THR_NONE in a one-stage menu, where the select move stores it.
uint32_t value_select_within_ms
esc_throttle_t skip_throttle
esc_throttle_t listen_throttle
 Where the stick rests while the menu sounds; ESC_THR_NONE where the entry left it.
esc_throttle_t store_throttle
 The move that stores a selection once the ESC has answered it; ESC_THR_NONE where the selection itself stores.
uint8_t long_equals_short
uint32_t beep_ms
uint32_t gap_ms
uint32_t group_gap_ms
int16_t repeat
bool one_change_per_entry
bool verified
uint8_t step_count
const char *const * steps
uint16_t model_count
const esc_model_t * models
uint8_t item_count
const esc_item_t * items
uint8_t manual_count
 The operator's steps at the ESC, in the order they are due; 0 entries on every profile that is not assisted.
const esc_manual_t * manual

Detailed Description

One ESC programming profile: its family, menu and steps.

Field Documentation

◆ announce

esc_announce_t esc_profile_t::announce

what the ESC announces before a selection

◆ automatable

esc_auto_t esc_profile_t::automatable

who can run the sequence

◆ automatable_note

const char* esc_profile_t::automatable_note

"" when full

◆ beep_ms

uint32_t esc_profile_t::beep_ms

0: not known

◆ brand

const char* esc_profile_t::brand

the brand, as the file names it

◆ encoding

esc_encoding_t esc_profile_t::encoding

how one number is sounded

◆ entry_after_power

bool esc_profile_t::entry_after_power

else before power is on

◆ entry_hold_ms

uint32_t esc_profile_t::entry_hold_ms

0: not known

◆ entry_throttle

esc_throttle_t esc_profile_t::entry_throttle

throttle position that enters the programming mode

◆ family

const char* esc_profile_t::family

the product family the profile covers

◆ gap_ms

uint32_t esc_profile_t::gap_ms

0: not known

◆ group_gap_ms

uint32_t esc_profile_t::group_gap_ms

0: not known

◆ id

const char* esc_profile_t::id

the file name without .json

◆ item_count

uint8_t esc_profile_t::item_count

number of items in items

◆ items

const esc_item_t* esc_profile_t::items

the items of the menu, item_count of them

◆ long_equals_short

uint8_t esc_profile_t::long_equals_short

0 unless short_long

◆ model_count

uint16_t esc_profile_t::model_count

number of models in models

◆ models

const esc_model_t* esc_profile_t::models

the models, model_count of them

◆ one_change_per_entry

bool esc_profile_t::one_change_per_entry

whether one change ends a programming entry

◆ repeat

int16_t esc_profile_t::repeat

-1 not known, 0 until a choice is made

◆ scheme

esc_scheme_t esc_profile_t::scheme

how the menu as a whole is driven

◆ select_throttle

esc_throttle_t esc_profile_t::select_throttle

throttle position that selects an item

◆ select_within_ms

uint32_t esc_profile_t::select_within_ms

0: not known

◆ skip_throttle

esc_throttle_t esc_profile_t::skip_throttle

throttle position that skips an item

◆ step_count

uint8_t esc_profile_t::step_count

number of operator actions in steps

◆ steps

const char* const* esc_profile_t::steps

operator actions, in order

◆ value_select_within_ms

uint32_t esc_profile_t::value_select_within_ms

0: not known

◆ verified

bool esc_profile_t::verified

a bench run confirmed it


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