mirror of https://github.com/ArduPilot/ardupilot
Quaternion: update for new Quaternion interface
This commit is contained in:
parent
eea63ecd6e
commit
36e92bf4ba
|
@ -75,7 +75,7 @@ public:
|
||||||
float get_error_yaw(void);
|
float get_error_yaw(void);
|
||||||
Matrix3f get_dcm_matrix(void) {
|
Matrix3f get_dcm_matrix(void) {
|
||||||
Matrix3f ret;
|
Matrix3f ret;
|
||||||
quaternion_to_rotation_matrix(q, ret);
|
q.rotation_matrix(ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue