Quaternion: update for new Quaternion interface

This commit is contained in:
Andrew Tridgell 2012-03-10 17:07:20 +11:00
parent eea63ecd6e
commit 36e92bf4ba
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }