Location: add additional comments

This commit is contained in:
Randy Mackay 2016-04-28 20:54:58 +09:00
parent 5161d63f8b
commit 85963cecb4
1 changed files with 7 additions and 1 deletions

View File

@ -42,16 +42,22 @@ public:
// set altitude
void set_alt_cm(int32_t alt_cm, ALT_FRAME frame);
// get altitude in desired frame
// get altitude (in cm) in the desired frame
// returns false on failure to get altitude in the desired frame which
// can only happen if the original frame or desired frame is above-terrain
bool get_alt_cm(ALT_FRAME desired_frame, int32_t &ret_alt_cm) const;
// get altitude frame
ALT_FRAME get_alt_frame() const;
// converts altitude to new frame
// returns false on failure to convert which can only happen if
// the original frame or desired frame is above-terrain
bool change_alt_frame(ALT_FRAME desired_frame);
// get position as a vector from home (x,y only or x,y,z)
// return false on failure to get the vector which can only
// happen if the EKF origin has not been set yet
bool get_vector_xy_from_origin_NEU(Vector3f &vec_neu) const;
bool get_vector_from_origin_NEU(Vector3f &vec_neu) const;