Skip to content

Commit

Permalink
AP_AHRS: Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ricdevz authored and lucasdemarchi committed May 13, 2016
1 parent 2802775 commit 2bf9aa9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libraries/AP_AHRS/AP_AHRS_DCM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ AP_AHRS_DCM::reset(bool recover_eulers)
// calculate initial roll angle
roll = atan2f(-initAccVec.y, -initAccVec.z);
} else {
// If we cant use the accel vector, then align flat
// If we can't use the accel vector, then align flat
roll = 0.0f;
pitch = 0.0f;
}
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_AHRS/AP_AHRS_NavEKF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ void AP_AHRS_NavEKF::writeOptFlowMeas(uint8_t &rawFlowQuality, Vector2f &rawFlo
EKF2.writeOptFlowMeas(rawFlowQuality, rawFlowRates, rawGyroRates, msecFlowMeas);
}

// inhibit GPS useage
// inhibit GPS usage
uint8_t AP_AHRS_NavEKF::setInhibitGPS(void)
{
switch (ekf_type()) {
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_AHRS/AP_AHRS_NavEKF.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class AP_AHRS_NavEKF : public AP_AHRS_DCM
// write optical flow measurements to EKF
void writeOptFlowMeas(uint8_t &rawFlowQuality, Vector2f &rawFlowRates, Vector2f &rawGyroRates, uint32_t &msecFlowMeas);

// inibit GPS useage
// inibit GPS usage
uint8_t setInhibitGPS(void);

// get speed limit
Expand Down

0 comments on commit 2bf9aa9

Please sign in to comment.