diff --git a/src/Parafoil/StateMachines/NASController/NASController.cpp b/src/Parafoil/StateMachines/NASController/NASController.cpp index bc8de17faa7c785fbad86aa606a8d8652df0e99f..1f46916082b51198d631ca86b80b6bd9925d5cc6 100644 --- a/src/Parafoil/StateMachines/NASController/NASController.cpp +++ b/src/Parafoil/StateMachines/NASController/NASController.cpp @@ -282,7 +282,8 @@ void NASController::update() // Perform initial NAS prediction nas.predictGyro(imu); nas.predictAcc(imu); - nas.correctMag(imu); + // Disable Magnetometer as it works terribly! DO NOT USE + // nas.correctMag(imu); if (lastGpsTimestamp < gps.gpsTimestamp && gps.fix == 3 && accLength < Config::NAS::DISABLE_GPS_ACCELERATION_THRESHOLD)