Skip to content

Commit 61c1dec

Browse files
committed
Print HAE APC in Base menu
Fix #385
1 parent 25ee214 commit 61c1dec

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Firmware/RTK_Surveyor/menuBase.ino

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ void menuBase()
77
systemPrintln();
88
systemPrintln("Menu: Base");
99

10+
//Print the combined HAE APC if we are in the given mode
11+
if (settings.fixedBase == true && settings.fixedBaseCoordinateType == COORD_TYPE_GEODETIC)
12+
{
13+
systemPrintf("Total Height Above Ellipsoid - Antenna Phase Center (HAE APC): %0.3fmm\r\n",
14+
(((settings.fixedAltitude * 1000) + settings.antennaHeight + settings.antennaReferencePoint) / 1000)
15+
);
16+
}
17+
1018
systemPrint("1) Toggle Base Mode: ");
1119
if (settings.fixedBase == true) systemPrintln("Fixed/Static Position");
1220
else systemPrintln("Use Survey-In");

0 commit comments

Comments
 (0)