mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 04:06:33 +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',
|
'float32': 'float',
|
||||||
'float64': 'double',
|
'float64': 'double',
|
||||||
'bool': 'bool',
|
'bool': 'bool',
|
||||||
|
'char': 'char',
|
||||||
'fence_vertex': 'fence_vertex',
|
'fence_vertex': 'fence_vertex',
|
||||||
'position_setpoint': 'position_setpoint'}
|
'position_setpoint': 'position_setpoint',
|
||||||
|
'esc_report': 'esc_report'}
|
||||||
|
|
||||||
# Function to print a standard ros type
|
# Function to print a standard ros type
|
||||||
def print_field_def(field):
|
def print_field_def(field):
|
||||||
|
|||||||
Reference in New Issue
Block a user