Merge branch 'main' into mgm-sus-rate-calc
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2023-08-14 10:40:29 +02:00
commit 819f5c299d
2 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,9 @@ will consitute of a breaking change warranting a new major release:
- The handling function of the GPS data is only called once per GPS read. This should remove - The handling function of the GPS data is only called once per GPS read. This should remove
the fake fix-has-changed events. the fake fix-has-changed events.
## Changed
- GPS Fix has changed event is no longer triggered for the EM
## Changed ## Changed
- MGM and SUS rates now will only be calculated, if 2 valid consecutive datapoints are available. - MGM and SUS rates now will only be calculated, if 2 valid consecutive datapoints are available.
The stored value of the last timestep will now be reset, if no actual value is available. The stored value of the last timestep will now be reset, if no actual value is available.

View File

@ -238,7 +238,9 @@ ReturnValue_t GpsHyperionLinuxController::handleGpsReadData() {
} }
} }
if (gpsSet.fixMode.value != newFix) { if (gpsSet.fixMode.value != newFix) {
#if OBSW_Q7S_EM != 1
triggerEvent(GpsHyperion::GPS_FIX_CHANGE, gpsSet.fixMode.value, newFix); triggerEvent(GpsHyperion::GPS_FIX_CHANGE, gpsSet.fixMode.value, newFix);
#endif
} }
gpsSet.fixMode = newFix; gpsSet.fixMode = newFix;
gpsSet.fixMode.setValid(modeIsSet); gpsSet.fixMode.setValid(modeIsSet);