Skip to content

Commit

Permalink
Fix message parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperTails committed Apr 6, 2024
1 parent 9dc36e0 commit 3b71b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb_ws/src/buggy/scripts/serial/host_comm.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def read_packet(self):
# print(debug)
return debug
elif msg_type == MSG_TYPE_BNYATEL:
x, y, vel, steering, heading, heading_rate = struct.unpack('<ffffff', payload)
x, y, vel, steering, heading, heading_rate = struct.unpack('<dddddd', payload)
return BnyaTelemetry(x, y, vel, steering, heading, heading_rate)
else:
return None
Expand Down

0 comments on commit 3b71b0a

Please sign in to comment.