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
23 lines
580 B
Plaintext
23 lines
580 B
Plaintext
# parameter response type
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint8 node_id # requester node ID
|
|
|
|
char[17] param_name # parameter name
|
|
|
|
int16 param_index # parameter index, if known
|
|
|
|
uint16 param_count # number of parameters exposed by the node
|
|
|
|
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
|
|
|
|
|
|
uint64 timestamp_requested
|
|
|
|
uint8 ORB_QUEUE_LENGTH = 8
|
|
|
|
# TOPICS parameter_value uavcan_parameter_value
|