mirror of https://github.com/ArduPilot/ardupilot
Location: add additional comments
This commit is contained in:
parent
5161d63f8b
commit
85963cecb4
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue