|
ASCO Aerial Autonomy
|
#include <cmath>#include <stdexcept>#include <tf/tf.h>

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... | |
| #define _USE_MATH_DEFINES |
Define Math constants such as pi, e etc.
1.8.6