Quaternion: update for new Quaternion interface

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

View File

@ -75,7 +75,7 @@ public:
float get_error_yaw(void);
Matrix3f get_dcm_matrix(void) {
Matrix3f ret;
quaternion_to_rotation_matrix(q, ret);
q.rotation_matrix(ret);
return ret;
}