From 36e92bf4ba8ba7f72c493fe8feee3d59bd334282 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 10 Mar 2012 17:07:20 +1100 Subject: [PATCH] Quaternion: update for new Quaternion interface --- libraries/AP_Quaternion/AP_Quaternion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Quaternion/AP_Quaternion.h b/libraries/AP_Quaternion/AP_Quaternion.h index 20028f1efe..4d8b061765 100644 --- a/libraries/AP_Quaternion/AP_Quaternion.h +++ b/libraries/AP_Quaternion/AP_Quaternion.h @@ -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; }