You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue details
Seeing a sign error on how the ellipsoid height is calculated. The undulation is subtracted from alt here height_elipsoid_mm = loc.alt*10 - undulation*1000;
Which doesn't make sense considering the alt is calculated as height - undulation state.location.alt = (int32_t)(((float)temp.Height - temp.Undulation) * 1e2f);
That would imply ellipsoid height = height - 2 * undulation.
Bug report
Issue details
Seeing a sign error on how the ellipsoid height is calculated.
The undulation is subtracted from alt here
height_elipsoid_mm = loc.alt*10 - undulation*1000;
Which doesn't make sense considering the alt is calculated as height - undulation
state.location.alt = (int32_t)(((float)temp.Height - temp.Undulation) * 1e2f);
That would imply ellipsoid height = height - 2 * undulation.
@hendjoshsr71
Version
Master
Platform
[X] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine
The text was updated successfully, but these errors were encountered: