Open luweiagi opened 8 months ago
I think this is probably a good change.
Have you seen this happen in practice? There is code in DCM which prevents the transformation matrix getting out of shape, and I think most other places tend to create the transformation matrix from a quaternion....
Any reason you didn't create a PR for this one?
Hi, @tridge @priseborough
https://github.com/ArduPilot/ardupilot/blob/9a092e4e3a7ef4148d40827268a8929906f5bf03/libraries/AP_AHRS/AP_AHRS_Backend.cpp#L126
should be fixed as: (because cx2 may be bigger than 1)