AP_NavEKF2: spell in comments (NFC)

This commit is contained in:
Dr.-Ing. Amilcar do Carmo Lucas 2018-05-07 18:42:11 +02:00 committed by Randy Mackay
parent a561aa2f6d
commit 59e087214f
1 changed files with 3 additions and 3 deletions

View File

@ -362,7 +362,7 @@ void NavEKF2_core::readIMUData()
// reset the counter used to let the frontend know how many frames have elapsed since we started a new update cycle
framesSincePredict = 0;
// set the flag to let the filter know it has new IMU data nad needs to run
// set the flag to let the filter know it has new IMU data and needs to run
runUpdates = true;
// extract the oldest available data from the FIFO buffer
@ -494,7 +494,7 @@ void NavEKF2_core::readGpsData()
// Post-alignment checks
calcGpsGoodForFlight();
// Read the GPS locaton in WGS-84 lat,long,height coordinates
// Read the GPS location in WGS-84 lat,long,height coordinates
const struct Location &gpsloc = gps.location();
// Set the EKF origin and magnetic field declination if not previously set and GPS checks have passed
@ -508,7 +508,7 @@ void NavEKF2_core::readGpsData()
// Set the height of the NED origin
ekfGpsRefHgt = (double)0.01 * (double)gpsloc.alt + (double)outputDataNew.position.z;
// Set the uncertinty of the GPS origin height
// Set the uncertainty of the GPS origin height
ekfOriginHgtVar = sq(gpsHgtAccuracy);
}