diff --git a/mission/controller/acs/SensorProcessing.cpp b/mission/controller/acs/SensorProcessing.cpp index d7e6794e..c93c6027 100644 --- a/mission/controller/acs/SensorProcessing.cpp +++ b/mission/controller/acs/SensorProcessing.cpp @@ -554,6 +554,7 @@ void SensorProcessing::processGps(const double gpsLatitude, const double gpsLong gpsDataProcessed->setValidity(true, true); } } + return; } else if (validGps) { // Transforming from Degree to Radians and calculation geocentric latitude from geodetic gdLongitude = gpsLongitude * PI / 180.;