#include <odometry_helper_ros.h>
Public Member Functions | |
void | getOdom (nav_msgs::Odometry &base_odom) |
void | getRobotVel (tf::Stamped< tf::Pose > &robot_vel) |
void | odomCallback (const nav_msgs::Odometry::ConstPtr &msg) |
Callback for receiving odometry data. | |
OdometryHelperRos (std::string odom_topic) | |
~OdometryHelperRos () | |
Private Attributes | |
nav_msgs::Odometry | base_odom_ |
std::string | frame_id_ |
The frame_id associated this data. | |
boost::mutex | odom_mutex_ |
ros::Subscriber | odom_sub_ |
Definition at line 48 of file odometry_helper_ros.h.
base_local_planner::OdometryHelperRos::OdometryHelperRos | ( | std::string | odom_topic | ) |
Definition at line 41 of file odometry_helper_ros.cpp.
Definition at line 52 of file odometry_helper_ros.h.
void base_local_planner::OdometryHelperRos::getOdom | ( | nav_msgs::Odometry & | base_odom | ) |
Definition at line 58 of file odometry_helper_ros.cpp.
void base_local_planner::OdometryHelperRos::getRobotVel | ( | tf::Stamped< tf::Pose > & | robot_vel | ) |
Definition at line 64 of file odometry_helper_ros.cpp.
void base_local_planner::OdometryHelperRos::odomCallback | ( | const nav_msgs::Odometry::ConstPtr & | msg | ) |
Callback for receiving odometry data.
msg | An Odometry message |
Definition at line 47 of file odometry_helper_ros.cpp.
nav_msgs::Odometry base_local_planner::OdometryHelperRos::base_odom_ [private] |
Definition at line 67 of file odometry_helper_ros.h.
std::string base_local_planner::OdometryHelperRos::frame_id_ [private] |
The frame_id associated this data.
Definition at line 70 of file odometry_helper_ros.h.
boost::mutex base_local_planner::OdometryHelperRos::odom_mutex_ [private] |
Definition at line 68 of file odometry_helper_ros.h.
Definition at line 66 of file odometry_helper_ros.h.