Use SGP4 Propagator for GPS #770

Merged
muellerr merged 33 commits from use-sgp4-propagator into main 2023-08-14 15:47:33 +02:00
Showing only changes of commit e261d3609b - Show all commits

View File

@ -167,6 +167,7 @@ void AcsController::performSafe() {
timeval now;
Clock::getClock_timeval(&now);
navigation.useSpg4(now, &gpsDataProcessed);
sensorProcessing.process(now, &sensorValues, &mgmDataProcessed, &susDataProcessed,
&gyrDataProcessed, &gpsDataProcessed, &acsParameters);
fusedRotationEstimation.estimateFusedRotationRateSafe(&susDataProcessed, &mgmDataProcessed,
@ -292,6 +293,7 @@ void AcsController::performDetumble() {
timeval now;
Clock::getClock_timeval(&now);
navigation.useSpg4(now, &gpsDataProcessed);
sensorProcessing.process(now, &sensorValues, &mgmDataProcessed, &susDataProcessed,
&gyrDataProcessed, &gpsDataProcessed, &acsParameters);
fusedRotationEstimation.estimateFusedRotationRateSafe(&susDataProcessed, &mgmDataProcessed,
@ -378,6 +380,7 @@ void AcsController::performPointingCtrl() {
timeval now;
Clock::getClock_timeval(&now);
navigation.useSpg4(now, &gpsDataProcessed);
sensorProcessing.process(now, &sensorValues, &mgmDataProcessed, &susDataProcessed,
&gyrDataProcessed, &gpsDataProcessed, &acsParameters);
ReturnValue_t result = navigation.useMekf(&sensorValues, &gyrDataProcessed, &mgmDataProcessed,