MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / invert

Method invert

libraries/AP_Math/matrix3.cpp:220–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218
219template <typename T>
220bool Matrix3<T>::invert()
221{
222 Matrix3<T> inv;
223 bool success = inverse(inv);
224 if (success) {
225 *this = inv;
226 }
227 return success;
228}
229
230// create rotation matrix for rotation about the vector v by angle theta
231// See: http://www.euclideanspace.com/maths/geometry/rotations/conversions/angleToMatrix/

Callers 6

get_uncorrected_fieldMethod · 0.45
align_yawMethod · 0.45
earth_to_bodyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected