diff --git a/msg/tools/px_generate_uorb_topic_helper.py b/msg/tools/px_generate_uorb_topic_helper.py index d876d83bb1..810d6db908 100644 --- a/msg/tools/px_generate_uorb_topic_helper.py +++ b/msg/tools/px_generate_uorb_topic_helper.py @@ -117,7 +117,7 @@ def add_padding_bytes(fields, search_path): struct size returns a tuple with the struct size and padding at the end """ - struct_size = 8 # account for the timestamp + struct_size = 0 align_to = 8 # this is always 8, because of the 64bit timestamp i = 0 padding_idx = 0