#include <OdometryTracker.h>
Public Member Functions | |
const nav_msgs::Odometry & | getOdometry () |
void | init (const ros::Time &now) |
OdometryTracker (const std::string &from="odom", const std::string &to="base_footprint", double cov_pose=0.1, double cov_twist=0.1) | |
void | track (const ros::Time &now, double dt, double vel_x, double vel_y, double vel_theta) |
Private Attributes | |
nav_msgs::Odometry | odom_ |
double | theta_rob_rad_ |
Definition at line 23 of file OdometryTracker.h.
OdometryTracker::OdometryTracker | ( | const std::string & | from = "odom" , |
const std::string & | to = "base_footprint" , |
||
double | cov_pose = 0.1 , |
||
double | cov_twist = 0.1 |
||
) | [inline] |
Definition at line 27 of file OdometryTracker.h.
const nav_msgs::Odometry& OdometryTracker::getOdometry | ( | ) | [inline] |
Definition at line 54 of file OdometryTracker.h.
void OdometryTracker::init | ( | const ros::Time & | now | ) | [inline] |
Definition at line 40 of file OdometryTracker.h.
void OdometryTracker::track | ( | const ros::Time & | now, |
double | dt, | ||
double | vel_x, | ||
double | vel_y, | ||
double | vel_theta | ||
) | [inline] |
Definition at line 57 of file OdometryTracker.h.
nav_msgs::Odometry OdometryTracker::odom_ [private] |
Definition at line 24 of file OdometryTracker.h.
double OdometryTracker::theta_rob_rad_ [private] |
Definition at line 25 of file OdometryTracker.h.