Public Member Functions | Private Attributes
graph_slam::OdomConstraintGenerator Class Reference

Constraint generator that generates a single constraint to the previous node. More...

#include <odom.h>

Inheritance diagram for graph_slam::OdomConstraintGenerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

NodeConstraintVector getConstraints (const pg::PoseGraph &graph, const pg::NodeId new_node, const NodePoseMap &optimized_poses)
 Return a set of constraints given the current state of the graph the identity of the new node, and current optimized poses.
void initializeFromGraph (const pg::PoseGraph &g, const std::vector< pg::NodeId > &node_sequence)
 Initialize from existing graph.
void updateLocalization (const graph_slam::GraphLocalization &loc)

Private Attributes

boost::optional< pg::NodeIdlast_node_

Detailed Description

Constraint generator that generates a single constraint to the previous node.

Definition at line 53 of file odom.h.


Member Function Documentation

NodeConstraintVector graph_slam::OdomConstraintGenerator::getConstraints ( const pg::PoseGraph graph,
const pg::NodeId  new_node,
const NodePoseMap optimized_poses 
) [virtual]

Return a set of constraints given the current state of the graph the identity of the new node, and current optimized poses.

Implements graph_slam::ConstraintGenerator.

Definition at line 63 of file odom_constraint_generator.cpp.

void graph_slam::OdomConstraintGenerator::initializeFromGraph ( const pg::PoseGraph g,
const std::vector< pg::NodeId > &  node_sequence 
) [virtual]

Initialize from existing graph.

Parameters:
node_sequenceis a suffix of the order in which nodes were seen; can have repeats

Implements graph_slam::ConstraintGenerator.

Definition at line 52 of file odom_constraint_generator.cpp.

void graph_slam::OdomConstraintGenerator::updateLocalization ( const graph_slam::GraphLocalization &  loc) [virtual]

Implements graph_slam::ConstraintGenerator.

Definition at line 58 of file odom_constraint_generator.cpp.


Member Data Documentation

Definition at line 63 of file odom.h.


The documentation for this class was generated from the following files:


graph_slam
Author(s): Bhaskara Marthi
autogenerated on Tue Jan 7 2014 11:17:21