base
Public Member Functions | Public Attributes | List of all members
base::PoseUpdateThreshold Struct Reference

#include <Pose.hpp>

Public Member Functions

 PoseUpdateThreshold ()
 
 PoseUpdateThreshold (double _distance, double _angle)
 
bool test (double other_distance, double other_angle)
 
bool test (const Eigen::Affine3d &pdelta)
 
bool test (const Eigen::Affine3d &a2b, const Eigen::Affine3d &aprime2b)
 

Public Attributes

double distance
 
double angle
 

Detailed Description

Represents a pose update threshold, with a number of test methods to see if the threshold was met.

Constructor & Destructor Documentation

◆ PoseUpdateThreshold() [1/2]

base::PoseUpdateThreshold::PoseUpdateThreshold ( )

◆ PoseUpdateThreshold() [2/2]

base::PoseUpdateThreshold::PoseUpdateThreshold ( double  _distance,
double  _angle 
)

Constructor with distance and angle thresholds

Member Function Documentation

◆ test() [1/3]

bool base::PoseUpdateThreshold::test ( double  other_distance,
double  other_angle 
)

Test if distance or angle is greater than the stored threshold.

◆ test() [2/3]

bool base::PoseUpdateThreshold::test ( const Eigen::Affine3d pdelta)

Test if the provided delta transformation is greater in either distance or angle than the threshold

◆ test() [3/3]

bool base::PoseUpdateThreshold::test ( const Eigen::Affine3d a2b,
const Eigen::Affine3d aprime2b 
)

Test if the delta of the provided transformations is greater in either distance or angle than the threshold.

Parameters
a2bthe initial transformation from A to B
aprime2bthe next transformation from A' to B
Returns
true if the transformation A' to A is greater than the stored thresholds

Member Data Documentation

◆ angle

double base::PoseUpdateThreshold::angle

◆ distance

double base::PoseUpdateThreshold::distance

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