actuator controls as msg

This commit is contained in:
Thomas Gubler
2014-12-08 12:12:23 +01:00
parent b3600e5ee6
commit dc945a3f3f
8 changed files with 30 additions and 35 deletions
+4
View File
@@ -0,0 +1,4 @@
uint8 NUM_ACTUATOR_CONTROLS = 8
uint8 NUM_ACTUATOR_CONTROL_GROUPS = 4
uint64 timestamp
float32[8] control
+2 -1
View File
@@ -104,7 +104,8 @@ type_map = {'int8': 'int8_t',
'uint32': 'uint32_t',
'uint64': 'uint64_t',
'float32': 'float',
'bool': 'bool'}
'bool': 'bool',
'actuator_controls': 'actuator_controls'}
# Function to print a standard ros type
def print_field_def(field):