mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 02:53:34 +08:00
DSDL parser
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#
|
||||
# Test file
|
||||
#
|
||||
|
||||
root_b.TypeInRootB type_in_root_b
|
||||
root_a.ns2.TypeInNs2[<256] type_in_ns_2
|
||||
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# Deliberately misformatted definition
|
||||
#
|
||||
|
||||
root_a.TypeInRootA[<23] type_in_root_a
|
||||
|
||||
float64 CONST = 3.141592653589793 # 123
|
||||
|
||||
float64[<1024] huge_array
|
||||
|
||||
bool a
|
||||
int2 a_
|
||||
|
||||
---
|
||||
|
||||
bool ok
|
||||
uint7[<=128] optional_error_message
|
||||
@@ -0,0 +1,6 @@
|
||||
int32 int32
|
||||
truncated int2 truncated
|
||||
saturated bool A = false
|
||||
truncated bool B = true
|
||||
bool C
|
||||
bool c
|
||||
@@ -0,0 +1 @@
|
||||
bool b = true + false
|
||||
@@ -0,0 +1 @@
|
||||
# Empty
|
||||
Reference in New Issue
Block a user