mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-26 02:40:34 +08:00
Extend generator templates to allow nested topics
This commit is contained in:
@@ -106,8 +106,10 @@ type_map = {'int8': 'int8_t',
|
||||
'float32': 'float',
|
||||
'float64': 'double',
|
||||
'bool': 'bool',
|
||||
'char': 'char',
|
||||
'fence_vertex': 'fence_vertex',
|
||||
'position_setpoint': 'position_setpoint'}
|
||||
'position_setpoint': 'position_setpoint',
|
||||
'esc_report': 'esc_report'}
|
||||
|
||||
# Function to print a standard ros type
|
||||
def print_field_def(field):
|
||||
|
||||
Reference in New Issue
Block a user