13 #ifndef XBOT_NODE_ODOMETRY_HPP_ 14 #define XBOT_NODE_ODOMETRY_HPP_ 21 #include <geometry_msgs/Twist.h> 22 #include <nav_msgs/Odometry.h> 24 #include <ecl/geometry/pose2d.hpp> 45 double imu_heading,
double imu_angular_velocity);
63 void publishOdometry(
const geometry_msgs::Quaternion &odom_quat,
const ecl::linear_algebra::Vector3d &pose_update_rates);
ros::Duration cmd_vel_timeout
tf::TransformBroadcaster odom_broadcaster
ros::Publisher odom_publisher
const ros::Duration & timeout() const
void update(const ecl::Pose2D< double > &pose_update, ecl::linear_algebra::Vector3d &pose_update_rates, double imu_heading, double imu_angular_velocity)
bool commandTimeout() const
Odometry for the xbot node.
void publishTransform(const geometry_msgs::Quaternion &odom_quat)
geometry_msgs::TransformStamped odom_trans
ecl::Pose2D< double > pose
void publishOdometry(const geometry_msgs::Quaternion &odom_quat, const ecl::linear_algebra::Vector3d &pose_update_rates)
void init(ros::NodeHandle &nh, const std::string &name)