Namespaces | |
| Detail | |
Classes | |
| class | Logger |
| class | ProbabilityLawSimulation |
| struct | SimplestStopwatch |
Functions | |
| std::string STATE_OBSERVATION_DLLAPI | matrixToString (const Matrix &mat) |
| std::string STATE_OBSERVATION_DLLAPI | vectorToString (const Vector &v) |
| Matrix STATE_OBSERVATION_DLLAPI | stringToMatrix (const std::string &str, Index rows, Index cols) |
| Vector STATE_OBSERVATION_DLLAPI | stringToVector (const std::string &str, Index length) |
| Vector STATE_OBSERVATION_DLLAPI | stringToVector (const std::string &str) |
| template<class T > | |
| T | square (const T &x) |
| computes the square of a value of any type More... | |
| template<class T > | |
| T | derivate (const T &o1, const T &o2, double dt) |
| derivates any type with finite differences More... | |
| template<typename T > | |
| int | signum (T x) |
| gives the sign of a variable (1, 0 or -1) More... | |
| template<typename T > | |
| std::string | toString (T val) |
| bool | checkIfNormalized (const Vector3 &v) |
| checks if the vector is already normalized or not More... | |
| bool | checkIfNormalized (const Vector3 &v, double &outputSquaredNorm) |
| checks if the vector is already normalized or not More... | |
| template<typename T > | |
| T | clampScalar (const T &x, const T &max, const T &min) |
| returns the value clamped between min and max More... | |
| template<typename T > | |
| T | clampScalar (const T &x, const T &limit) |
| returns the value clamped between limit and -limit More... | |
| Vector3 | 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 | finiteTimeAccControl (double x, double xd, double kp=-1, double kv=-1) |
| Vector STATE_OBSERVATION_DLLAPI | 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 | sqrt (double x) |
| Constexpr version of the square root. More... | |
|
inline |
checks if the vector is already normalized or not
| v | the vector to normalize |
|
inline |
checks if the vector is already normalized or not
| v | the vector to normalize |
| outputSquaredNorm | the squared norm as an output |
|
inline |
returns the value clamped between limit and -limit
| T | The type of the scalar |
| x | the input value |
| limit | is the maximum absolute value allowed, has to be positive |
|
inline |
returns the value clamped between min and max
| T | The type of the scalar |
| x | the input value |
| max | the max value |
| min | the min value |
|
inline |
derivates any type with finite differences
|
inline |
sqme as the scalar version but for every member of the vector
|
inline |
provides an acceleration giving a finite time convergence to zero the state is the position x and the derivative xd and the output is the acceleration. The gains kp, kv must be negative
| std::string STATE_OBSERVATION_DLLAPI stateObservation::tools::matrixToString | ( | const Matrix & | mat | ) |
normalize the vector only if it is not normalized already. Useful if the vector is likely to be normalized
| v | the input vector |
|
inline |
gives the sign of a variable (1, 0 or -1)
|
constexpr |
Constexpr version of the square root.
For a finite and non-negative value of "x", returns an approximation for the square root of "x" -Otherwise, returns NaN
| x |
|
inline |
computes the square of a value of any type
| Matrix STATE_OBSERVATION_DLLAPI stateObservation::tools::stringToMatrix | ( | const std::string & | str, |
| Index | rows, | ||
| Index | cols | ||
| ) |
| Vector STATE_OBSERVATION_DLLAPI stateObservation::tools::stringToVector | ( | const std::string & | str | ) |
| Vector STATE_OBSERVATION_DLLAPI stateObservation::tools::stringToVector | ( | const std::string & | str, |
| Index | length | ||
| ) |
|
inline |
| std::string STATE_OBSERVATION_DLLAPI stateObservation::tools::vectorToString | ( | const Vector & | v | ) |