roslib: serialization spec for bool
This commit is contained in:
parent
dc26f61645
commit
93db75bbd3
|
@ -81,6 +81,9 @@ def get_registered_ex(type_):
|
|||
SIMPLE_TYPES_DICT = { #see python module struct
|
||||
'int8': 'b',
|
||||
'uint8': 'B',
|
||||
# Python 2.6 adds in '?' for C99 _Bool, which appears equivalent to an uint8,
|
||||
# thus, we use uint8
|
||||
'bool': 'B',
|
||||
'int16' : 'h',
|
||||
'uint16' : 'H',
|
||||
'int32' : 'i',
|
||||
|
|
Loading…
Reference in New Issue