Skip to content

Commit

Permalink
AP_Math: add placeholder for compatibility binding
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 committed Oct 15, 2024
1 parent d5f6dd5 commit 90ed2b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/AP_Math/quaternion.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ class QuaternionT {

// convert a vector from body to earth frame
void body_to_earth(Vector3<T> &v) const;
// duplicate of body_to_earth for a compatibility lua binding alias for the old name for this function: earth_to_body. Remove this in 4.7
void body_to_earth2(Vector3<T> &v) const {
body_to_earth(v);
}

// create a quaternion from Euler angles using 321 euler ordering
void from_euler(T roll, T pitch, T yaw);
Expand Down

0 comments on commit 90ed2b8

Please sign in to comment.