good angle by default in estimator.cpp

This commit is contained in:
Louis-Guillaume DUBOIS 2015-05-30 14:06:15 +02:00
parent 8345801ef7
commit 6c88fb973f

View file

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