Public Member Functions |
| Pose3d (double x, double y, double z, double yaw, double pitch, double roll) |
| Pose3d (const Eigen::MatrixXd &m) |
| Pose3d (const Eigen::Isometry3d &T) |
| Pose3d (const Point3d &t, const Rot3d &rot) |
double | x () const |
double | y () const |
double | z () const |
double | yaw () const |
double | pitch () const |
double | roll () const |
Point3d | trans () const |
Rot3d | rot () const |
void | set_x (double x) |
void | set_y (double y) |
void | set_z (double z) |
void | set_yaw (double yaw) |
void | set_pitch (double pitch) |
void | set_roll (double roll) |
Pose3d | exmap (const Vector6d &delta) const |
Vector6d | vector () const |
void | set (double x, double y, double z, double yaw, double pitch, double roll) |
void | set (const Vector6d &v) |
void | of_pose2d (const Pose2d &p) |
void | of_point2d (const Point2d &p) |
void | of_point3d (const Point3d &p) |
void | write (std::ostream &out) const |
Eigen::VectorXb | is_angle () const |
Eigen::Matrix4d | wTo () const |
Eigen::Matrix4d | oTw () const |
Pose3d | oplus (const Pose3d &d) const |
Pose3d | ominus (const Pose3d &b) const |
Point3dh | transform_to (const Point3dh &p) const |
Point3d | transform_to (const Point3d &p) const |
Point3dh | transform_from (const Point3dh &p) const |
Point3d | transform_from (const Point3d &p) const |
Static Public Member Functions |
static const char * | name () |
Static Public Attributes |
static
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
const int | dim = 6 |
Friends |
std::ostream & | operator<< (std::ostream &out, const Pose3d &p) |
Conventions:
Right-handed coordinate system (NED: north-east-down) X forward (along default motion of robot) Y right Z down
Rotations are represented using standard Euler angles yaw pitch roll
Note that Euler angles transform objects from the global into the local frame of the vehicle: First yaw rotates around Z (changing X and Y axes to X' and Y'), then pitch around the new Y' axis, and finally roll around the new X' axis.
In contrast, the returned rotation and transformation matrices are defined in the opposite direction: wTo transforms a point from the local (second) system to the global (first) system
Definition at line 69 of file Pose3d.h.