Skip to content
Snippets Groups Projects
Commit 9180fdf6 authored by Emilio Corigliano's avatar Emilio Corigliano
Browse files

[Stats] Registering aglAltitude instead of mslAltitude

parent 09bf24cb
No related branches found
No related tags found
No related merge requests found
...@@ -177,7 +177,7 @@ void ADAController::update() ...@@ -177,7 +177,7 @@ void ADAController::update()
// Notify stats recorder // Notify stats recorder
getModule<StatsRecorder>()->apogeeDetected( getModule<StatsRecorder>()->apogeeDetected(
TimestampTimer::getTimestamp(), gps.latitude, gps.longitude, TimestampTimer::getTimestamp(), gps.latitude, gps.longitude,
ada.getState().mslAltitude); ada.getState().aglAltitude);
EventBroker::getInstance().post(ADA_APOGEE_DETECTED, TOPIC_ADA); EventBroker::getInstance().post(ADA_APOGEE_DETECTED, TOPIC_ADA);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment