fix: interface names

This commit is contained in:
David
2025-05-26 02:34:16 +00:00
parent 1d0292b4c9
commit 9f3ff0f8df
2 changed files with 3 additions and 3 deletions

View File

@@ -206,7 +206,7 @@ class SerialRelay(Node):
self.core_feedback.bno_gyro.x = float(parts[3])
self.core_feedback.bno_gyro.y = float(parts[4])
self.core_feedback.bno_gyro.z = float(parts[5])
self.core_feedback.imu_calib = float(parts[6])
self.core_feedback.imu_calib = int(parts[6])
elif output.startswith("can_relay_fromvic,core,52"):#Accel x,y,z, heading *10
self.core_feedback.bno_accel.x = float(parts[3])
self.core_feedback.bno_accel.y = float(parts[4])