From fcbed13533a0d30efec1817e2038dab7a548c52b Mon Sep 17 00:00:00 2001 From: Ricardo de Almeida Gonzaga Date: Thu, 12 May 2016 13:57:50 -0300 Subject: [PATCH] AP_Mount: Fix typos --- libraries/AP_Mount/AP_Mount_Backend.h | 2 +- libraries/AP_Mount/SoloGimbalEKF.cpp | 2 +- libraries/AP_Mount/SoloGimbal_Parameters.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Mount/AP_Mount_Backend.h b/libraries/AP_Mount/AP_Mount_Backend.h index 4a7a929e1b..d8d746c953 100644 --- a/libraries/AP_Mount/AP_Mount_Backend.h +++ b/libraries/AP_Mount/AP_Mount_Backend.h @@ -94,7 +94,7 @@ protected: MAV_MOUNT_MODE get_mode(void) const { return _frontend.get_mode(_instance); } AP_Mount &_frontend; // reference to the front end which holds parameters - AP_Mount::mount_state &_state; // refernce to the parameters and state for this backend + AP_Mount::mount_state &_state; // references to the parameters and state for this backend uint8_t _instance; // this instance's number Vector3f _angle_ef_target_rad; // desired earth-frame roll, tilt and vehicle-relative pan angles in radians }; diff --git a/libraries/AP_Mount/SoloGimbalEKF.cpp b/libraries/AP_Mount/SoloGimbalEKF.cpp index e437d092bb..c982a5c9c8 100644 --- a/libraries/AP_Mount/SoloGimbalEKF.cpp +++ b/libraries/AP_Mount/SoloGimbalEKF.cpp @@ -109,7 +109,7 @@ void SoloGimbalEKF::RunEKF(float delta_time, const Vector3f &delta_angles, const FiltInit = true; hal.console->printf("\nSoloGimbalEKF Alignment Started\n"); - // Don't run the filter in this timestep becasue we have already used the delta velocity data to set an initial orientation + // Don't run the filter in this timestep because we have already used the delta velocity data to set an initial orientation return; } diff --git a/libraries/AP_Mount/SoloGimbal_Parameters.cpp b/libraries/AP_Mount/SoloGimbal_Parameters.cpp index 8e5abc4850..ecb8bff574 100644 --- a/libraries/AP_Mount/SoloGimbal_Parameters.cpp +++ b/libraries/AP_Mount/SoloGimbal_Parameters.cpp @@ -142,7 +142,7 @@ void SoloGimbal_Parameters::update() } } - // check for nonexistant parameters + // check for nonexistent parameters for(uint8_t i=0; i _max_fetch_attempts) { _params[i].state = GMB_PARAMSTATE_NONEXISTANT;