|
base
|
Representation for a pose in 3D. More...
#include <Pose.hpp>
Public Member Functions | |
| Pose () | |
| Default constructor will initialize to zero. More... | |
| Pose (Position const &p, Orientation const &o) | |
| Pose (const Eigen::Affine3d &t) | |
| constructor based on a 4x4 transform matrix More... | |
| Pose (const Vector6d &v) | |
| void | fromTransform (const Eigen::Affine3d &t) |
| set the pose based on a 4x4 matrix More... | |
| Eigen::Affine3d | toTransform () const |
| transform matrix which represents the pose transform as a 4x4 homogenous matrix More... | |
| void | fromVector6d (const Vector6d &v) |
| set pose based on compact scaled-axis representation More... | |
| Vector6d | toVector6d () const |
| get compact scaled-axis representation of pose More... | |
| double | getYaw () const |
Public Attributes | |
| Position | position |
| Orientation | orientation |
Representation for a pose in 3D.
Stores the position and orientation part separately and is very well suited for storage and interchange, since it is a compact representation.
|
inline |
Default constructor will initialize to zero.
|
inline |
|
inline |
constructor based on a 4x4 transform matrix
| t | 4x4 homogenous transform matrix, for which the upper-left 3x3 matrix needs to be a rotation matrix. |
|
inline |
|
inline |
set the pose based on a 4x4 matrix
| t | 4x4 homogenous transform matrix, for which the upper-left 3x3 matrix needs to be a rotation matrix. |
| void base::Pose::fromVector6d | ( | const Vector6d & | v | ) |
set pose based on compact scaled-axis representation
| v | compact 6 vector [r t], where r is a 3 vector representing the rotation in scaled axis form, and t is the translation 3 vector. |
|
inline |
|
inline |
transform matrix which represents the pose transform as a 4x4 homogenous matrix
| Vector6d base::Pose::toVector6d | ( | ) | const |
get compact scaled-axis representation of pose
| Orientation base::Pose::orientation |
| Position base::Pose::position |
1.8.13