Skip to content

Commit

Permalink
fix compass tilt compensation in topdown orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
iltis42 committed Apr 6, 2024
1 parent c7685ff commit 0aea55b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/KalmanMPU6050.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ void IMU::defaultImuReference()
accelDefaultRef = Quaternion(deg2rad(180.0f), vector_ijk(1,0,0)) * accelDefaultRef;
}
ref_rot = accelDefaultRef;
imu_reference.set(ref_rot, false); // nvs
// imu_reference.set(ref_rot, false); // nvs
progress = 0; // reset the calibration procedure
}
// Concatenation of ground angle of attack and the basic reference calibration rotation
Expand Down

0 comments on commit 0aea55b

Please sign in to comment.