Manages a hierarchy of 3D coordinate frames and enables SE(3) transforms.
More...
#include <FrameMgr3D.h>
|
|
std::vector< const Frame3D * > | getPathToRoot (const Frame3D *frame) const |
| |
Manages a hierarchy of 3D coordinate frames and enables SE(3) transforms.
FrameMgr3D is designed for robotics and navigation applications where multiple coordinate frames (such as world, robot base, and sensors) must be related and transformed. It supports:
- Defining a tree of 3D frames, each with a pose (translation and quaternion rotation) relative to its parent.
- Computing the SE(3) transform between any two frames in the hierarchy.
Example:
Frame3D camera(FrameType3D::CAMERA, 0, &base,
Transform3D{0.1,0,0.2,0,0,0,1}); Transform3D tf = mgr.getTransform(camera,
world);
Represents a 3D coordinate frame in a hierarchical frame tree.
Definition: FrameMgr3D.h:97
Manages a hierarchy of 3D coordinate frames and enables SE(3) transforms.
Definition: FrameMgr3D.h:141
◆ setGPS()
Sets the GPS reference for a frame.
- Parameters
-
| gpsParent | The frame to associate with the GPS reference. |
| gps | The GPS coordinate at the origin of gpsParent. |
| rotationDeg | Rotation from local x to GPS north (degrees). |
◆ toGPS()
Converts a coordinate in the given frame to a GPS coordinate.
- Parameters
-
| frame | The frame in which the coordinate is expressed. |
| local | The coordinate in the local frame (meters). |
- Returns
- The corresponding GPS coordinate.
The documentation for this class was generated from the following file: