Added standard DSDL types: uavcan.*, uavcan.protocol.*, uavcan.mavlink.*

This commit is contained in:
Pavel Kirienko
2014-03-06 13:32:38 +04:00
parent f06346877f
commit 451ea11795
31 changed files with 331 additions and 2 deletions
@@ -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