Browse Source

px_generate_uorb_topic_helper: do not account with the timestamp, so the struct size matches

sbg
TSC21 7 years ago committed by Beat Küng
parent
commit
cac84e1424
  1. 2
      msg/tools/px_generate_uorb_topic_helper.py

2
msg/tools/px_generate_uorb_topic_helper.py

@ -117,7 +117,7 @@ def add_padding_bytes(fields, search_path): @@ -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

Loading…
Cancel
Save