From 8da08bd32846123ad150fd3984df37895d443944 Mon Sep 17 00:00:00 2001 From: meggert Date: Tue, 8 Aug 2023 14:24:26 +0200 Subject: [PATCH] fix --- mission/controller/acs/SensorProcessing.cpp | 1 + 1 file changed, 1 insertion(+) 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.;