Skip to content

Commit

Permalink
fix INT filtering: @FreeK this is nice but is this used? (#3174)
Browse files Browse the repository at this point in the history
  • Loading branch information
dewagter committed Nov 14, 2023
1 parent 5aff1f7 commit 82d1f94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sw/airborne/modules/imu/imu.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ void imu_init(void)
imu.gyros[i].calibrated.neutral = false;
imu.gyros[i].calibrated.scale = false;
imu.gyros[i].calibrated.rotation = false;
imu.gyros[i].calibrated.filter = false;
} else {
imu.gyros[i] = gyro_calib[i];
}
Expand Down Expand Up @@ -398,6 +399,7 @@ void imu_init(void)
imu.accels[i].calibrated.neutral = false;
imu.accels[i].calibrated.scale = false;
imu.accels[i].calibrated.rotation = false;
imu.accels[i].calibrated.filter = false;
} else {
imu.accels[i] = accel_calib[i];
}
Expand Down

0 comments on commit 82d1f94

Please sign in to comment.