$darkmode
geometry.hpp File Reference
#include <Eigen/Geometry>
Include dependency graph for geometry.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Eigen::Quaterniond cloe::utility::quaternion_from_rpy (double roll, double pitch, double yaw)
 
Eigen::Isometry3d cloe::utility::pose_from_rotation_translation (const Eigen::Quaterniond &quaternion, const Eigen::Vector3d &trans)
 
Eigen::Vector3d cloe::utility::get_pose_roll_pitch_yaw (const Eigen::Isometry3d &pose)
 
void cloe::utility::transform_point_to_child_frame (const Eigen::Isometry3d &child_frame, Eigen::Vector3d *pt_vec)
 
void cloe::utility::transform_point_to_parent_frame (const Eigen::Isometry3d &child_frame, Eigen::Vector3d *pt_vec_child)
 

Function Documentation

◆ get_pose_roll_pitch_yaw()

Eigen::Vector3d cloe::utility::get_pose_roll_pitch_yaw ( const Eigen::Isometry3d &  pose)
inline

Compute the roll, pitch and yaw angles from a given pose.

Parameters
posePose of which the rotation matrix shall be expressed in Euler angles.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pose_from_rotation_translation()

Eigen::Isometry3d cloe::utility::pose_from_rotation_translation ( const Eigen::Quaterniond &  quaternion,
const Eigen::Vector3d &  trans 
)
inline

PoseFromRotationTranslation calculates the pose from rotation and translation.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ quaternion_from_rpy()

Eigen::Quaterniond cloe::utility::quaternion_from_rpy ( double  roll,
double  pitch,
double  yaw 
)
inline

QuaternionFromRPY calculates a quaternion from roll, pitch and yaw.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ transform_point_to_child_frame()

void cloe::utility::transform_point_to_child_frame ( const Eigen::Isometry3d &  child_frame,
Eigen::Vector3d *  pt_vec 
)
inline

Change a point's frame of reference from the parent frame to the child frame.

Parameters
child_framePose of the child reference frame w.r.t. the parent frame.
pt_vecPoint coordinate vector w.r.t. the parent frame.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transform_point_to_parent_frame()

void cloe::utility::transform_point_to_parent_frame ( const Eigen::Isometry3d &  child_frame,
Eigen::Vector3d *  pt_vec_child 
)
inline

Change a point's frame of reference from the child frame to the parent frame.

Parameters
child_framePose of the child reference frame w.r.t. the parent frame.
pt_vec_childPoint coordinate vector w.r.t. the child frame.
Here is the call graph for this function:
Here is the caller graph for this function: