diff --git a/mission/controller/AcsController.cpp b/mission/controller/AcsController.cpp index 99d28d8b..67596fc9 100644 --- a/mission/controller/AcsController.cpp +++ b/mission/controller/AcsController.cpp @@ -420,8 +420,8 @@ void AcsController::performPointingCtrl() { switch (mode) { case acs::PTG_IDLE: - guidance.targetQuatPtgIdle(timeDelta, susDataProcessed.sunIjkModel.value, targetQuat, - targetSatRotRate); + guidance.targetQuatPtgIdle(timeDelta, timeAbsolute, susDataProcessed.sunIjkModel.value, + gpsDataProcessed.gpsPosition.value, targetQuat, targetSatRotRate); guidance.comparePtg(quatBI, rotRateB, targetQuat, targetSatRotRate, errorQuat, errorSatRotRate, errorAngle); ptgCtrl.ptgLaw(&acsParameters.idleModeControllerParameters, errorQuat, errorSatRotRate,