Functions
util Namespace Reference

Functions

static double getYawFromQuat (const geometry_msgs::Quaternion &quat)
 
static float normalize_angle (float angle)
 
static float normalize_angle_pos (float angle)
 
static bool poseDifferenceLargerThan (const Eigen::Vector3f &pose1, const Eigen::Vector3f &pose2, float distanceDiffThresh, float angleDiffThresh)
 
static int sign (int x)
 
static float sqr (float val)
 
template<typename T >
static T toDeg (const T radVal)
 
template<typename T >
static T toRad (const T degVal)
 

Function Documentation

◆ getYawFromQuat()

static double util::getYawFromQuat ( const geometry_msgs::Quaternion &  quat)
static

Definition at line 94 of file UtilFunctions.h.

◆ normalize_angle()

static float util::normalize_angle ( float  angle)
inlinestatic

Definition at line 42 of file UtilFunctions.h.

◆ normalize_angle_pos()

static float util::normalize_angle_pos ( float  angle)
inlinestatic

Definition at line 37 of file UtilFunctions.h.

◆ poseDifferenceLargerThan()

static bool util::poseDifferenceLargerThan ( const Eigen::Vector3f &  pose1,
const Eigen::Vector3f &  pose2,
float  distanceDiffThresh,
float  angleDiffThresh 
)
static

Definition at line 73 of file UtilFunctions.h.

◆ sign()

static int util::sign ( int  x)
inlinestatic

Definition at line 56 of file UtilFunctions.h.

◆ sqr()

static float util::sqr ( float  val)
inlinestatic

Definition at line 51 of file UtilFunctions.h.

◆ toDeg()

template<typename T >
static T util::toDeg ( const T  radVal)
static

Definition at line 62 of file UtilFunctions.h.

◆ toRad()

template<typename T >
static T util::toRad ( const T  degVal)
static

Definition at line 68 of file UtilFunctions.h.



hector_mapping
Author(s): Stefan Kohlbrecher
autogenerated on Sat Mar 12 2022 03:57:50