We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b323138 commit 5dcd2c2Copy full SHA for 5dcd2c2
formant_ros2_adapter/scripts/ros2_utils/message_utils.py
@@ -60,6 +60,8 @@ def parse(m):
60
return NUMPY_DTYPE_TO_BUILTIN_MAPPING[type(m)](m)
61
elif type(m) in [list, array.array, np.ndarray]:
62
return [parse(o) for o in m]
63
+ elif m is None:
64
+ return None
65
else:
66
return {k: parse(getattr(m, k)) for k in m._fields_and_field_types}
67
0 commit comments