|
se2ez
|
Map of frame name to a pair of that describes if the transform is "dirty" (needs updating) and its current transform. More...
#include <robot.h>
Classes | |
| struct | Value |
| A tuple that stores whether a transform is dirty (needs to be updated), the transform itself, and the transforms of the geometry associated with the frame. More... | |
Public Member Functions | |
| void | dirty () |
| Dirties all frames within the frame map. More... | |
| std::string | printFrames (const RobotPtr &robot) const |
| Prints out all current frame pose information. Attaches "_[ x, y, t ]" to the Robot::printTree(), where '_' is 'C' for clean, 'D' for dirty, and 'X' for uninitialized. "[ x, y, t ]" is the transform of the frame. More... | |
Constructors | |
| FrameMap (const Robot &robot) | |
| Constructor. More... | |
| FrameMap (const RobotPtr &robot) | |
| Constructor. More... | |
| FrameMap (const FrameMap &)=delete | |
| FrameMap (FrameMap &&)=delete | |
Entry Manipulation | |
| void | insert (FrameMapPtr other) |
| Inserts all entries in this frame map into another frame map. More... | |
| Value & | getEntry (const std::string &frame_name) |
| Gets the entry in the frame map associated with frame_name. Creates the entry if one does not already exist. More... | |
| const Value & | getEntryConst (const std::string &frame_name) const |
| Gets the entry in the frame map associated with frame_name. Throws error if it does not already exist. More... | |
Private Attributes | |
| tf::EigenHash< std::string, Value > | frames |
| Map of frame name to dirty / transform pairs. More... | |
Map of frame name to a pair of that describes if the transform is "dirty" (needs updating) and its current transform.
| FrameMap::FrameMap | ( | const Robot & | robot | ) |
| FrameMap::FrameMap | ( | const RobotPtr & | robot | ) |
|
delete |
|
delete |
| void FrameMap::dirty | ( | ) |
| FrameMap::Value & FrameMap::getEntry | ( | const std::string & | frame_name | ) |
| const FrameMap::Value & FrameMap::getEntryConst | ( | const std::string & | frame_name | ) | const |
| void FrameMap::insert | ( | FrameMapPtr | other | ) |
| std::string FrameMap::printFrames | ( | const RobotPtr & | robot | ) | const |
Prints out all current frame pose information. Attaches "_[ x, y, t ]" to the Robot::printTree(), where '_' is 'C' for clean, 'D' for dirty, and 'X' for uninitialized. "[ x, y, t ]" is the transform of the frame.
| [in] | robot | Robot that this frame map is associated with. |
|
private |