#include <GraftOdometryTopic.h>
Public Member Functions | |
void | callback (const nav_msgs::Odometry::ConstPtr &msg) |
virtual void | clearMessage () |
virtual std::string | getName () |
GraftOdometryTopic () | |
virtual graft::GraftSensorResidual::Ptr | h (const graft::GraftState &state) |
virtual void | setName (const std::string &name) |
void | setPoseCovariance (boost::array< double, 36 > &cov) |
void | setTimeout (double timeout) |
void | setTwistCovariance (boost::array< double, 36 > &cov) |
void | useAbsolutePose (bool absolute_pose) |
void | useDeltaPose (bool delta_pose) |
void | useVelocities (bool use_velocities) |
virtual graft::GraftSensorResidual::Ptr | z () |
~GraftOdometryTopic () | |
Private Member Functions | |
nav_msgs::Odometry::ConstPtr | getMsg () |
Private Attributes | |
bool | absolute_pose_ |
bool | delta_pose_ |
nav_msgs::Odometry::ConstPtr | last_msg_ |
nav_msgs::Odometry::ConstPtr | msg_ |
std::string | name_ |
boost::array< double, 36 > | pose_covariance_ |
ros::Subscriber | sub_ |
ros::Duration | timeout_ |
boost::array< double, 36 > | twist_covariance_ |
bool | use_velocities_ |
Definition at line 46 of file GraftOdometryTopic.h.
Definition at line 36 of file GraftOdometryTopic.cpp.
Definition at line 46 of file GraftOdometryTopic.cpp.
void GraftOdometryTopic::callback | ( | const nav_msgs::Odometry::ConstPtr & | msg | ) |
Definition at line 51 of file GraftOdometryTopic.cpp.
void GraftOdometryTopic::clearMessage | ( | ) | [virtual] |
Implements GraftSensor.
Definition at line 69 of file GraftOdometryTopic.cpp.
nav_msgs::Odometry::ConstPtr GraftOdometryTopic::getMsg | ( | ) | [private] |
Definition at line 227 of file GraftOdometryTopic.cpp.
std::string GraftOdometryTopic::getName | ( | ) | [virtual] |
Implements GraftSensor.
Definition at line 63 of file GraftOdometryTopic.cpp.
graft::GraftSensorResidual::Ptr GraftOdometryTopic::h | ( | const graft::GraftState & | state | ) | [virtual] |
Implements GraftSensor.
Definition at line 108 of file GraftOdometryTopic.cpp.
void GraftOdometryTopic::setName | ( | const std::string & | name | ) | [virtual] |
Implements GraftSensor.
Definition at line 57 of file GraftOdometryTopic.cpp.
void GraftOdometryTopic::setPoseCovariance | ( | boost::array< double, 36 > & | cov | ) |
Definition at line 197 of file GraftOdometryTopic.cpp.
void GraftOdometryTopic::setTimeout | ( | double | timeout | ) |
Definition at line 186 of file GraftOdometryTopic.cpp.
void GraftOdometryTopic::setTwistCovariance | ( | boost::array< double, 36 > & | cov | ) |
Definition at line 203 of file GraftOdometryTopic.cpp.
void GraftOdometryTopic::useAbsolutePose | ( | bool | absolute_pose | ) |
Definition at line 209 of file GraftOdometryTopic.cpp.
void GraftOdometryTopic::useDeltaPose | ( | bool | delta_pose | ) |
Definition at line 215 of file GraftOdometryTopic.cpp.
void GraftOdometryTopic::useVelocities | ( | bool | use_velocities | ) |
Definition at line 221 of file GraftOdometryTopic.cpp.
graft::GraftSensorResidual::Ptr GraftOdometryTopic::z | ( | ) | [virtual] |
Implements GraftSensor.
Definition at line 119 of file GraftOdometryTopic.cpp.
bool GraftOdometryTopic::absolute_pose_ [private] |
Definition at line 91 of file GraftOdometryTopic.h.
bool GraftOdometryTopic::delta_pose_ [private] |
Definition at line 92 of file GraftOdometryTopic.h.
nav_msgs::Odometry::ConstPtr GraftOdometryTopic::last_msg_ [private] |
Definition at line 88 of file GraftOdometryTopic.h.
nav_msgs::Odometry::ConstPtr GraftOdometryTopic::msg_ [private] |
Definition at line 87 of file GraftOdometryTopic.h.
std::string GraftOdometryTopic::name_ [private] |
Definition at line 90 of file GraftOdometryTopic.h.
boost::array<double, 36> GraftOdometryTopic::pose_covariance_ [private] |
Definition at line 96 of file GraftOdometryTopic.h.
ros::Subscriber GraftOdometryTopic::sub_ [private] |
Definition at line 86 of file GraftOdometryTopic.h.
ros::Duration GraftOdometryTopic::timeout_ [private] |
Definition at line 94 of file GraftOdometryTopic.h.
boost::array<double, 36> GraftOdometryTopic::twist_covariance_ [private] |
Definition at line 97 of file GraftOdometryTopic.h.
bool GraftOdometryTopic::use_velocities_ [private] |
Definition at line 93 of file GraftOdometryTopic.h.