From ee75f0eb0efbabd547ea4cd0e1090f7cfeb7130d Mon Sep 17 00:00:00 2001 From: Paul Riseborough Date: Mon, 3 Jul 2017 21:05:43 +1000 Subject: [PATCH] ekf2: Use updated quaternion type def --- src/modules/ekf2/ekf2_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ekf2/ekf2_main.cpp b/src/modules/ekf2/ekf2_main.cpp index 60303e37bc..1e9a4ead40 100644 --- a/src/modules/ekf2/ekf2_main.cpp +++ b/src/modules/ekf2/ekf2_main.cpp @@ -763,7 +763,7 @@ void Ekf2::task_main() ev_data.posNED(0) = ev_pos.x; ev_data.posNED(1) = ev_pos.y; ev_data.posNED(2) = ev_pos.z; - Quaternion q(ev_att.q); + Quatf q(ev_att.q); ev_data.quat = q; // position measurement error from parameters. TODO : use covariances from topic