mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
- parameter backend is now running in a wq and accessible over pub/sub - parameters library can call into backend directly (with locking), but operations will gradually start moving to pub/sub - majority of parameters migrated as is, only small changes to parameter autosave and parameter notification that are now performed from the WQ thread
13 lines
479 B
Plaintext
13 lines
479 B
Plaintext
char[17] name # parameter name
|
|
int16 index # -1 if the param_id field should be used as identifier
|
|
int16 index_used # -1 if the param_id field should be used as identifier
|
|
|
|
uint8 TYPE_INVALID = 0
|
|
uint8 TYPE_BOOL = 1
|
|
uint8 TYPE_INT32 = 2
|
|
uint8 TYPE_FLOAT32 = 3
|
|
uint8 type # parameter type
|
|
|
|
int32 int32_value # current value if param_type is int-like
|
|
float32 float32_value # current value if param_type is float-like
|