AP_GPS: Fix typos

This commit is contained in:
Ricardo de Almeida Gonzaga 2016-05-12 14:02:29 -03:00 committed by Lucas De Marchi
parent 481e3a2af6
commit 4047fb63fc
5 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;
}
}

View File

@ -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);

View File

@ -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: {

View File

@ -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"