ASCO Aerial Autonomy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions
math.h File Reference
#include <cmath>
#include <stdexcept>
#include <tf/tf.h>
Include dependency graph for math.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 math
 Math namespace to separate math functions from system functions if exist.
 

Macros

#define _USE_MATH_DEFINES
 Define Math constants such as pi, e etc. More...
 

Functions

double math::angleWrap (double x)
 Wrap an angle to be in the range [-pi, pi) More...
 
double math::clamp (double x, double min, double max)
 Clip a number to bewteen a min and max value. More...
 
template<class T >
tf::Transform math::getTransformFromVector (const T &input)
 Generate a tf transform from a vector of xyzrpy. More...
 
template<class T >
std::vector< tf::Transform > math::getTransformsFromVector (const T &input)
 Generate a vector of tf transforms from a vector of xyzrpy. More...
 

Macro Definition Documentation

#define _USE_MATH_DEFINES

Define Math constants such as pi, e etc.