PX4 Firmware
PX4 Autopilot Software http://px4.io
Functions.hpp File Reference

collection of rather simple mathematical functions that get used over and over again More...

#include "Limits.hpp"
Include dependency graph for Functions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 math
 

Functions

template<typename T >
int math::sign (T val)
 
template<typename T >
int math::signNoZero (T val)
 
template<typename T >
const T math::expo (const T &value, const T &e)
 
template<typename T >
const T math::superexpo (const T &value, const T &e, const T &g)
 
template<typename T >
const T math::deadzone (const T &value, const T &dz)
 
template<typename T >
const T math::expo_deadzone (const T &value, const T &e, const T &dz)
 
template<typename T >
const T math::gradual (const T &value, const T &x_low, const T &x_high, const T &y_low, const T &y_high)
 
template<typename T >
const T math::expontialFromLimits (const T &X_in, const T &Y_min, const T &Y_mid, const T &Y_max)
 

Detailed Description

collection of rather simple mathematical functions that get used over and over again

Definition in file Functions.hpp.