Generates just odometric constraints between successive nodes. More...
#include <odom_constraints.h>
Public Member Functions | |
OdomConstraints (ros::NodeHandle ¶m_nh) | |
OdomConstraints (ros::NodeHandle param_nh, TfPtr tf, DbPtr db) | |
Private Member Functions | |
void | diffCallback (graph_mapping_msgs::ConstraintGraphDiff::ConstPtr diff) |
void | diffCB (OptionalDiff diff, const pg::ConstraintGraph &g) |
tf::Pose | fixedFramePose (const ros::Time &t) |
void | localizationCallback (graph_mapping_msgs::LocalizationDistribution::ConstPtr l) |
Private Attributes | |
const string | base_frame_ |
ros::Publisher | constraint_pub_ |
DbPtr | db_ |
pg::DiffSubscriber | diff_sub_ |
ros::Subscriber | diff_sub_ |
const std::string | fixed_frame_ |
optional< unsigned > | last_node_ |
boost::optional< unsigned > | last_node_ |
optional< tf::Pose > | last_odom_pose_ |
ros::Subscriber | loc_sub_ |
boost::mutex | mutex_ |
ros::NodeHandle | nh_ |
const string | odom_frame_ |
ros::NodeHandle | param_nh_ |
tf::TransformListener | tf_ |
TfPtr | tf_ |
Generates just odometric constraints between successive nodes.
Definition at line 47 of file odom_constraints.h.
laser_slam::OdomConstraints::OdomConstraints | ( | ros::NodeHandle | param_nh, | |
TfPtr | tf, | |||
DbPtr | db | |||
) |
laser_slam::OdomConstraints::OdomConstraints | ( | ros::NodeHandle & | param_nh | ) |
Definition at line 96 of file odom_constraint_node.cpp.
void laser_slam::OdomConstraints::diffCallback | ( | graph_mapping_msgs::ConstraintGraphDiff::ConstPtr | diff | ) | [private] |
void laser_slam::OdomConstraints::diffCB | ( | OptionalDiff | diff, | |
const pg::ConstraintGraph & | g | |||
) | [private] |
Definition at line 118 of file odom_constraint_node.cpp.
tf::Pose laser_slam::OdomConstraints::fixedFramePose | ( | const ros::Time & | t | ) | [private] |
Definition at line 110 of file odom_constraint_node.cpp.
void laser_slam::OdomConstraints::localizationCallback | ( | graph_mapping_msgs::LocalizationDistribution::ConstPtr | l | ) | [private] |
const string laser_slam::OdomConstraints::base_frame_ [private] |
Definition at line 71 of file odom_constraint_node.cpp.
ros::Publisher laser_slam::OdomConstraints::constraint_pub_ [private] |
Definition at line 61 of file odom_constraints.h.
DbPtr laser_slam::OdomConstraints::db_ [private] |
Definition at line 59 of file odom_constraints.h.
pg::DiffSubscriber laser_slam::OdomConstraints::diff_sub_ [private] |
Definition at line 87 of file odom_constraint_node.cpp.
ros::Subscriber laser_slam::OdomConstraints::diff_sub_ [private] |
Definition at line 62 of file odom_constraints.h.
const std::string laser_slam::OdomConstraints::fixed_frame_ [private] |
Definition at line 54 of file odom_constraints.h.
optional<unsigned> laser_slam::OdomConstraints::last_node_ [private] |
Definition at line 78 of file odom_constraint_node.cpp.
boost::optional<unsigned> laser_slam::OdomConstraints::last_node_ [private] |
Definition at line 55 of file odom_constraints.h.
optional<tf::Pose> laser_slam::OdomConstraints::last_odom_pose_ [private] |
Definition at line 79 of file odom_constraint_node.cpp.
ros::Subscriber laser_slam::OdomConstraints::loc_sub_ [private] |
Definition at line 62 of file odom_constraints.h.
boost::mutex laser_slam::OdomConstraints::mutex_ [private] |
Definition at line 57 of file odom_constraints.h.
ros::NodeHandle laser_slam::OdomConstraints::nh_ [private] |
Definition at line 60 of file odom_constraints.h.
const string laser_slam::OdomConstraints::odom_frame_ [private] |
Definition at line 72 of file odom_constraint_node.cpp.
ros::NodeHandle laser_slam::OdomConstraints::param_nh_ [private] |
Definition at line 53 of file odom_constraints.h.
tf::TransformListener laser_slam::OdomConstraints::tf_ [private] |
Definition at line 86 of file odom_constraint_node.cpp.
TfPtr laser_slam::OdomConstraints::tf_ [private] |
Definition at line 58 of file odom_constraints.h.