46 #include <boost/bind.hpp>
51 namespace bacc = boost::accumulators;
64 , velocity_rolling_window_size_(velocity_rolling_window_size)
65 , linearX_acc_(RollingWindow::window_size = velocity_rolling_window_size)
66 , linearY_acc_(RollingWindow::window_size = velocity_rolling_window_size)
67 , angular_acc_(RollingWindow::window_size = velocity_rolling_window_size)
68 , integrate_fun_(
boost::bind(&Odometry::integrateExact, this, _1, _2, _3))
118 const double dt = (time -
timestamp_).toSec();
140 tf::Vector3 vel_inOdom = R_m_odom * tf::Vector3(linearX, linearY, 0.0);
143 x_ += vel_inOdom.x();
144 y_ += vel_inOdom.y();