mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 21:13:33 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -1,8 +1,31 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# UavcanParameterValue (UORB message)
|
||||
|
||||
UAVCAN-MAVLink parameter bridge response type
|
||||
UAVCAN-MAVLink parameter bridge response type.
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/UavcanParameterValue.msg)
|
||||
**TOPICS:** uavcan_parametervalue
|
||||
|
||||
## Fields
|
||||
|
||||
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
||||
| ----------- | ---------- | ------------ | ---------- | ----------------------------------------------- |
|
||||
| timestamp | `uint64` | | | time since system start (microseconds) |
|
||||
| node_id | `uint8` | | | UAVCAN node ID mapped from MAVLink component ID |
|
||||
| param_id | `char[17]` | | | MAVLink/UAVCAN parameter name |
|
||||
| param_index | `int16` | | | parameter index, if known |
|
||||
| param_count | `uint16` | | | number of parameters exposed by the node |
|
||||
| param_type | `uint8` | | | MAVLink parameter type |
|
||||
| int_value | `int64` | | | current value if param_type is int-like |
|
||||
| real_value | `float32` | | | current value if param_type is float-like |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/UavcanParameterValue.msg)
|
||||
|
||||
::: details Click here to see original file
|
||||
|
||||
```c
|
||||
# UAVCAN-MAVLink parameter bridge response type
|
||||
@@ -14,5 +37,6 @@ uint16 param_count # number of parameters exposed by the node
|
||||
uint8 param_type # MAVLink parameter type
|
||||
int64 int_value # current value if param_type is int-like
|
||||
float32 real_value # current value if param_type is float-like
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user