Gathers many kinds of algorithms. More...
#include <boost/utility.hpp>#include <cmath>#include <state-observation/api.h>#include <state-observation/tools/definitions.hpp>

Go to the source code of this file.
Namespaces | |
| stateObservation | |
| stateObservation::tools | |
| stateObservation::tools::Detail | |
Functions | |
| template<class T > | |
| T | stateObservation::tools::square (const T &x) |
| computes the square of a value of any type More... | |
| template<class T > | |
| T | stateObservation::tools::derivate (const T &o1, const T &o2, double dt) |
| derivates any type with finite differences More... | |
| template<typename T > | |
| int | stateObservation::tools::signum (T x) |
| gives the sign of a variable (1, 0 or -1) More... | |
| template<typename T > | |
| std::string | stateObservation::tools::toString (T val) |
| bool | stateObservation::tools::checkIfNormalized (const Vector3 &v) |
| checks if the vector is already normalized or not More... | |
| bool | stateObservation::tools::checkIfNormalized (const Vector3 &v, double &outputSquaredNorm) |
| checks if the vector is already normalized or not More... | |
| template<typename T > | |
| T | stateObservation::tools::clampScalar (const T &x, const T &max, const T &min) |
| returns the value clamped between min and max More... | |
| template<typename T > | |
| T | stateObservation::tools::clampScalar (const T &x, const T &limit) |
| returns the value clamped between limit and -limit More... | |
| Vector3 | stateObservation::tools::normalizedLazy (const Vector3 &v) |
| normalize the vector only if it is not normalized already. Useful if the vector is likely to be normalized More... | |
| double STATE_OBSERVATION_DLLAPI | stateObservation::tools::finiteTimeAccControl (double x, double xd, double kp=-1, double kv=-1) |
| Vector STATE_OBSERVATION_DLLAPI | stateObservation::tools::finiteTimeAccControl (const Vector &x, const Vector &xd, double kp=-1, double kv=-1) |
| sqme as the scalar version but for every member of the vector More... | |
| constexpr double | stateObservation::tools::Detail::sqrtNewtonRaphson (double x, double curr, double prev) |
| constexpr double | stateObservation::tools::sqrt (double x) |
| Constexpr version of the square root. More... | |
Gathers many kinds of algorithms.