#include <Anchor.h>
Public Member Functions | |
Anchor2d_Node (Slam *slam) | |
void | set_prior () |
void | add_anchor (Anchor2d_Node *a) |
void | merge (Anchor2d_Node *a, Pose2d old_origin) |
Anchor2d_Node * | parent () |
void isam::Anchor2d_Node::add_anchor | ( | Anchor2d_Node * | a | ) |
Add a new anchor to this frame.
Definition at line 54 of file Anchor.cpp.
void isam::Anchor2d_Node::merge | ( | Anchor2d_Node * | a, |
Pose2d | old_origin | ||
) |
Merges the node with anchor a.
a | the node to merge with. |
old_origin | the pose of this frame in the new frame. |
Usage: b.merge(a);
All anchors in a's frame will be merged with the b's frame.
Definition at line 64 of file Anchor.cpp.
void isam::Anchor2d_Node::set_prior | ( | ) |
Add a prior to the anchor. The prior will be removed if this anchor is merged with another anchor's frame.
Definition at line 47 of file Anchor.cpp.