AP_Mount: clarify attitude returned in get_attitude_quaternion method call

This commit is contained in:
Peter Barker 2023-02-13 17:28:55 +11:00 committed by Randy Mackay
parent 81a73e9477
commit 51757a192e
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ public:
// returns true if this mount can control its pan (required for multicopters)
virtual bool has_pan_control() const = 0;
// get attitude as a quaternion. returns true on success
// get attitude as a quaternion. returns true on success.
// att_quat will be an earth-frame quaternion rotated such that
// yaw is in body-frame.
virtual bool get_attitude_quaternion(Quaternion& att_quat) = 0;
// get mount's mode