Skip to content

Commit d960ee2

Browse files
committed
fix: reading tof top and bottom inverted
1 parent b2ca2d0 commit d960ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino_alvik.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def _parse_message(self) -> int:
443443
elif code == ord('f'):
444444
# tof matrix
445445
(_, self.left_tof, self.center_left_tof, self.center_tof,
446-
self.center_right_tof, self.right_tof, self.bottom_tof, self.top_tof) = self.packeter.unpacketC7I()
446+
self.center_right_tof, self.right_tof, self.top_tof, self.bottom_tof) = self.packeter.unpacketC7I()
447447
elif code == ord('q'):
448448
# imu position
449449
_, self.roll, self.pitch, self.yaw = self.packeter.unpacketC3F()

0 commit comments

Comments
 (0)