diff --git a/libraries/AP_GPS/AP_GPS.h b/libraries/AP_GPS/AP_GPS.h index 10f56fbc68..5357efc06f 100644 --- a/libraries/AP_GPS/AP_GPS.h +++ b/libraries/AP_GPS/AP_GPS.h @@ -115,7 +115,7 @@ public: float ground_course; ///< ground course in degrees uint16_t hdop; ///< horizontal dilution of precision in cm uint16_t vdop; ///< vertical dilution of precision in cm - uint8_t num_sats; ///< Number of visible satelites + uint8_t num_sats; ///< Number of visible satellites Vector3f velocity; ///< 3D velocitiy in m/s, in NED format float speed_accuracy; float horizontal_accuracy; diff --git a/libraries/AP_GPS/AP_GPS_PX4.cpp b/libraries/AP_GPS/AP_GPS_PX4.cpp index fc59bf224d..23ba8aab84 100644 --- a/libraries/AP_GPS/AP_GPS_PX4.cpp +++ b/libraries/AP_GPS/AP_GPS_PX4.cpp @@ -75,7 +75,7 @@ AP_GPS_PX4::read(void) if (_gps_pos.time_utc_usec == 0) { // This is a work-around for https://github.com/PX4/Firmware/issues/1474 - // reject position reports with invalid time, as APM adjusts it's clock after the first lock has been aquired + // reject position reports with invalid time, as APM adjusts it's clock after the first lock has been acquired state.status = AP_GPS::NO_FIX; } } diff --git a/libraries/AP_GPS/AP_GPS_SBF.cpp b/libraries/AP_GPS/AP_GPS_SBF.cpp index e0e60e63cf..ea967471c9 100644 --- a/libraries/AP_GPS/AP_GPS_SBF.cpp +++ b/libraries/AP_GPS/AP_GPS_SBF.cpp @@ -215,7 +215,7 @@ AP_GPS_SBF::process_message(void) state.hdop = last_hdop; - // Update velocity state (dont use −2·10^10) + // Update velocity state (don't use −2·10^10) if (temp.Vn > -200000) { state.velocity.x = (float)(temp.Vn); state.velocity.y = (float)(temp.Ve); @@ -234,7 +234,7 @@ AP_GPS_SBF::process_message(void) state.have_vertical_accuracy = true; } - // Update position state (dont use −2·10^10) + // Update position state (don't use −2·10^10) if (temp.Latitude > -200000) { state.location.lat = (int32_t)(temp.Latitude * RAD_TO_DEG_DOUBLE * 1e7); state.location.lng = (int32_t)(temp.Longitude * RAD_TO_DEG_DOUBLE * 1e7); diff --git a/libraries/AP_GPS/AP_GPS_SBP.cpp b/libraries/AP_GPS/AP_GPS_SBP.cpp index 3b5ddc98f6..376fa26939 100644 --- a/libraries/AP_GPS/AP_GPS_SBP.cpp +++ b/libraries/AP_GPS/AP_GPS_SBP.cpp @@ -214,7 +214,7 @@ AP_GPS_SBP::_sbp_process_message() { case SBP_TRACKING_STATE_MSGTYPE: //INTENTIONALLY BLANK - //Currenly unhandled, but logged after switch statement. + //Currently unhandled, but logged after switch statement. break; case SBP_IAR_STATE_MSGTYPE: { diff --git a/libraries/AP_GPS/AP_GPS_UBLOX.cpp b/libraries/AP_GPS/AP_GPS_UBLOX.cpp index 20315fa7f2..d183fe5270 100644 --- a/libraries/AP_GPS/AP_GPS_UBLOX.cpp +++ b/libraries/AP_GPS/AP_GPS_UBLOX.cpp @@ -17,7 +17,7 @@ // // u-blox GPS driver for ArduPilot // Origin code by Michael Smith, Jordi Munoz and Jose Julio, DIYDrones.com -// Substantially rewitten for new GPS driver structure by Andrew Tridgell +// Substantially rewritten for new GPS driver structure by Andrew Tridgell // #include "AP_GPS.h" #include "AP_GPS_UBLOX.h"