mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 10:43:34 +08:00
update IDL template so it can process builtin types
This commit is contained in:
@@ -76,18 +76,20 @@ type_serialize_map = {
|
||||
}
|
||||
|
||||
type_idl_map = {
|
||||
'bool': 'boolean',
|
||||
'byte': 'octet',
|
||||
'char': 'char',
|
||||
'int8': 'octet',
|
||||
'int16': 'short',
|
||||
'int32': 'long',
|
||||
'int64': 'long long',
|
||||
'uint8': 'octet',
|
||||
'int16': 'short',
|
||||
'uint16': 'unsigned short',
|
||||
'int32': 'long',
|
||||
'uint32': 'unsigned long',
|
||||
'int64': 'long long',
|
||||
'uint64': 'unsigned long long',
|
||||
'float32': 'float',
|
||||
'float64': 'double',
|
||||
'bool': 'boolean',
|
||||
'char': 'char',
|
||||
'string': 'string',
|
||||
}
|
||||
|
||||
msgtype_size_map = {
|
||||
|
||||
@@ -8,8 +8,8 @@ rtps:
|
||||
id: 15
|
||||
- msg: esc_report
|
||||
id: 21
|
||||
#- msg: esc_status
|
||||
# id: 22
|
||||
- msg: esc_status
|
||||
id: 22
|
||||
- msg: estimator_status
|
||||
id: 23
|
||||
- msg: iridiumsbd_status
|
||||
|
||||
Reference in New Issue
Block a user