mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 20:43:33 +08:00
Added standard DSDL types: uavcan.*, uavcan.protocol.*, uavcan.mavlink.*
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# Generic named parameter (key/value pair).
|
||||
#
|
||||
|
||||
uint3 TYPE_UNDEF = 0
|
||||
uint3 TYPE_INTEGER = 1
|
||||
uint3 TYPE_FLOAT = 2
|
||||
uint3 TYPE_STRING = 3
|
||||
uint3 TYPE_BYTES = 4
|
||||
uint3 type
|
||||
|
||||
uint8[<64] key
|
||||
|
||||
float64[<=1] numeric_value # For type = INTEGER, FLOAT
|
||||
uint8[<256] binary_value # For type = STRING, BYTES
|
||||
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Start HIL simulation for the specified components.
|
||||
#
|
||||
|
||||
uint64 MAGIC_NUMBER = 0xACCE551B1E012345
|
||||
uint64 magic_number
|
||||
|
||||
uint64 component_mask # Components are application defined
|
||||
|
||||
---
|
||||
|
||||
bool ok
|
||||
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Generic log message.
|
||||
#
|
||||
|
||||
uint3 SEVERITY_DEBUG = 0
|
||||
uint3 SEVERITY_INFO = 1
|
||||
uint3 SEVERITY_WARNING = 2
|
||||
uint3 SEVERITY_ERROR = 3
|
||||
uint3 severity
|
||||
|
||||
uint8[<32] source
|
||||
uint8[<128] text
|
||||
Reference in New Issue
Block a user