AP_AHRS: fix documentation errors

This commit is contained in:
priseborough 2016-07-12 09:36:41 +10:00 committed by Andrew Tridgell
parent 7700b1417d
commit 01ce3e7f1e

View File

@ -713,8 +713,8 @@ bool AP_AHRS_NavEKF::get_relative_position_NED(Vector3f &vec) const
} }
} }
// return a relative ground position in meters/second, North/East // write a relative ground position estimate in meters, North/East order
// order. return true if estimate is valid // return true if estimate is valid
bool AP_AHRS_NavEKF::get_relative_position_NE(Vector2f &posNE) const bool AP_AHRS_NavEKF::get_relative_position_NE(Vector2f &posNE) const
{ {
switch (active_EKF_type()) { switch (active_EKF_type()) {
@ -745,7 +745,7 @@ bool AP_AHRS_NavEKF::get_relative_position_NE(Vector2f &posNE) const
} }
} }
// return a relative ground position in meters/second, Down // write a relative ground position in meters, Down
// return true if the estimate is valid // return true if the estimate is valid
bool AP_AHRS_NavEKF::get_relative_position_D(float &posD) const bool AP_AHRS_NavEKF::get_relative_position_D(float &posD) const
{ {