Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
world_model::PoseHelper Class Reference

#include <pose_helper.hpp>

Public Member Functions

double calcAngularDistanceInRad (const geometry_msgs::Pose &pose1, const geometry_msgs::Pose &pose2)
 
double calcDistancePositionEucl (const geometry_msgs::Pose &pose1, const geometry_msgs::Pose &pose2)
 
bool checkOrientationsAreApproxEquale (const geometry_msgs::Pose &pose1, const geometry_msgs::Pose &pose2, const double orientation_rad_threshold)
 
bool checkPosesAreApproxEquale (const geometry_msgs::Pose &pose1, const geometry_msgs::Pose &pose2, const double position_threshold, const double orientation_rad_threshold)
 
bool checkPositionsAreApproxEquale (const geometry_msgs::Pose &pose1, const geometry_msgs::Pose &pose2, const double position_threshold)
 

Static Public Member Functions

static boost::shared_ptr< PoseHelpergetInstance ()
 
static void resetInstance ()
 

Private Member Functions

Eigen::Quaterniond convertPoseQuatToQuat (const geometry_msgs::Pose &pose)
 
 PoseHelper ()
 

Static Private Attributes

static boost::shared_ptr< PoseHelperinstance_ptr_
 

Detailed Description

Definition at line 29 of file pose_helper.hpp.

Constructor & Destructor Documentation

world_model::PoseHelper::PoseHelper ( )
private

Definition at line 38 of file pose_helper.cpp.

Member Function Documentation

double world_model::PoseHelper::calcAngularDistanceInRad ( const geometry_msgs::Pose pose1,
const geometry_msgs::Pose pose2 
)

Definition at line 48 of file pose_helper.cpp.

double world_model::PoseHelper::calcDistancePositionEucl ( const geometry_msgs::Pose pose1,
const geometry_msgs::Pose pose2 
)

Definition at line 42 of file pose_helper.cpp.

bool world_model::PoseHelper::checkOrientationsAreApproxEquale ( const geometry_msgs::Pose pose1,
const geometry_msgs::Pose pose2,
const double  orientation_rad_threshold 
)

Definition at line 67 of file pose_helper.cpp.

bool world_model::PoseHelper::checkPosesAreApproxEquale ( const geometry_msgs::Pose pose1,
const geometry_msgs::Pose pose2,
const double  position_threshold,
const double  orientation_rad_threshold 
)

Definition at line 56 of file pose_helper.cpp.

bool world_model::PoseHelper::checkPositionsAreApproxEquale ( const geometry_msgs::Pose pose1,
const geometry_msgs::Pose pose2,
const double  position_threshold 
)

Definition at line 62 of file pose_helper.cpp.

Eigen::Quaterniond world_model::PoseHelper::convertPoseQuatToQuat ( const geometry_msgs::Pose pose)
inlineprivate

Definition at line 34 of file pose_helper.hpp.

PoseHelperPtr world_model::PoseHelper::getInstance ( )
static

Definition at line 24 of file pose_helper.cpp.

void world_model::PoseHelper::resetInstance ( )
static

Definition at line 32 of file pose_helper.cpp.

Member Data Documentation

PoseHelperPtr world_model::PoseHelper::instance_ptr_
staticprivate

Definition at line 32 of file pose_helper.hpp.


The documentation for this class was generated from the following files:


asr_world_model
Author(s): Aumann Florian, Borella Jocelyn, Hutmacher Robin, Karrenbauer Oliver, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Trautmann Jeremias
autogenerated on Thu Jan 9 2020 07:20:01