diff --git a/web/plates/gps.html b/web/plates/gps.html index fd09267e..74a3319f 100644 --- a/web/plates/gps.html +++ b/web/plates/gps.html @@ -83,7 +83,11 @@
{{gps_lat}}, {{gps_lon}} ± {{gps_horizontal_accuracy}} m
- {{gps_alt}} ± {{gps_vertical_accuracy}} ft @ {{gps_vert_speed}} ft/min
+ Altitude MSL:
+ {{gps_alt}} ± {{gps_vertical_accuracy}} ft @ {{gps_vert_speed}} ft/min
+ Height WGS-84 ellipsoid:
+ {{ gps_height_above_ellipsoid }} ft + {{gps_track}}° @ {{gps_speed}} KTS
diff --git a/web/plates/js/gps.js b/web/plates/js/gps.js index d7244f89..4b448c91 100644 --- a/web/plates/js/gps.js +++ b/web/plates/js/gps.js @@ -165,6 +165,7 @@ function GPSCtrl($rootScope, $scope, $state, $http, $interval) { $scope.gps_lat = situation.GPSLatitude.toFixed(5); // result is string $scope.gps_lon = situation.GPSLongitude.toFixed(5); // result is string $scope.gps_alt = situation.GPSAltitudeMSL.toFixed(1); + $scope.gps_height_above_ellipsoid = situation.GPSHeightAboveEllipsoid.toFixed(1); $scope.gps_track = situation.GPSTrueCourse.toFixed(1); $scope.gps_speed = situation.GPSGroundSpeed.toFixed(1); $scope.gps_vert_speed = situation.GPSVerticalSpeed.toFixed(1); @@ -172,6 +173,7 @@ function GPSCtrl($rootScope, $scope, $state, $http, $interval) { $scope.gps_lat = "--"; $scope.gps_lon = "--"; $scope.gps_alt = "--"; + $scope.gps_height_above_ellipsoid = "--"; $scope.gps_track = "--"; $scope.gps_speed = "--"; $scope.gps_vert_speed = "--";