We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dcef76 commit 0805156Copy full SHA for 0805156
libraries/AP_GPS/AP_GPS_NOVA.cpp
@@ -211,7 +211,7 @@ AP_GPS_NOVA::process_message(void)
211
state.location.lat = (int32_t) (bestposu.lat * (double)1e7);
212
state.location.lng = (int32_t) (bestposu.lng * (double)1e7);
213
state.have_undulation = true;
214
- state.undulation = bestposu.undulation;
+ state.undulation = -bestposu.undulation;
215
set_alt_amsl_cm(state, bestposu.hgt * 100);
216
217
state.num_sats = bestposu.svsused;
0 commit comments