From 6c88fb973f2fd42e3e83cf22991e56496597fcf4 Mon Sep 17 00:00:00 2001 From: Louis-Guillaume DUBOIS Date: Sat, 30 May 2015 14:06:15 +0200 Subject: [PATCH] good angle by default in estimator.cpp --- src/estimator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/estimator.cpp b/src/estimator.cpp index 381b892..4836251 100644 --- a/src/estimator.cpp +++ b/src/estimator.cpp @@ -52,7 +52,7 @@ class Callback { // -pi/2 <= th <= pi/2 // ie cos(th) == m_x >= 0 float m_x, m_y; - if (!reverse_angle) + if (reverse_angle) { m_x = eg(0,0); m_y = eg(1,0);