AP_Math: compiler warnings - undeclared function

This commit is contained in:
Tom Pittenger 2015-12-05 01:10:07 -08:00 committed by Randy Mackay
parent 103af93ec3
commit f8b0a6a977
1 changed files with 12 additions and 0 deletions

View File

@ -103,6 +103,18 @@ uint32_t get_distance_cm(const struct Location &loc1, const struc
// return bearing in centi-degrees between two locations // return bearing in centi-degrees between two locations
int32_t get_bearing_cd(const struct Location &loc1, const struct Location &loc2); int32_t get_bearing_cd(const struct Location &loc1, const struct Location &loc2);
// return determinant of square matrix
float detnxn(const float C[], const uint8_t n);
// Output inverted nxn matrix when returns true, otherwise matrix is Singular
bool inversenxn(const float x[], float y[], const uint8_t n);
// invOut is an inverted 4x4 matrix when returns true, otherwise matrix is Singular
bool inverse3x3(float m[], float invOut[]);
// invOut is an inverted 3x3 matrix when returns true, otherwise matrix is Singular
bool inverse4x4(float m[],float invOut[]);
// see if location is past a line perpendicular to // see if location is past a line perpendicular to
// the line between point1 and point2. If point1 is // the line between point1 and point2. If point1 is
// our previous waypoint and point2 is our target waypoint // our previous waypoint and point2 is our target waypoint