Extend generator templates to allow nested topics

This commit is contained in:
Lorenz Meier 2015-05-25 19:17:14 +02:00
parent c9e8af8e9b
commit 20dff14eae

View File

@ -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):