microRTPS: remove byte ordering for nested types

This commit is contained in:
TSC21
2020-11-28 11:46:12 +00:00
committed by Lorenz Meier
parent 2d0eb4a41a
commit 1d1fbdb1d3
+1 -3
View File
@@ -150,9 +150,7 @@ def get_children_fields(base_type, search_path):
tmp_msg_context = genmsg.msg_loader.MsgContext.create_default()
spec_temp = genmsg.msg_loader.load_msg_by_type(
tmp_msg_context, '%s/%s' % (package, name), search_path)
sorted_fields = sorted(spec_temp.parsed_fields(),
key=sizeof_field_type, reverse=True)
return sorted_fields
return spec_temp.parsed_fields()
def add_padding_bytes(fields, search_path):