|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
#include <array>#include <cinttypes>#include <cmath>#include <cstring>#include "modm/architecture/interface/assert.hpp"#include "modm/math/geometry/angle.hpp"#include "modm/math/geometry/quaternion.hpp"#include "modm/math/geometry/vector3.hpp"#include "cmsis_mat.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | tap |
| namespace | tap::algorithms |
Functions | |
| bool | tap::algorithms::compareFloatClose (float val1, float val2, float epsilon) |
| template<typename T > | |
| T | tap::algorithms::limitVal (T val, T min, T max) |
| float | tap::algorithms::lowPassFilter (float prevValue, float newValue, float alpha) |
| template<typename From , typename To > | |
| To | tap::algorithms::reinterpretCopy (From from) |
| float | tap::algorithms::fastInvSqrt (float x) |
| CMSISMat< 3, 1 > | tap::algorithms::cross (const CMSISMat< 3, 1 > &a, const CMSISMat< 3, 1 > &b) |
| CMSISMat< 3, 3 > | tap::algorithms::fromEulerAngles (const float roll, const float pitch, const float yaw) |
| void | tap::algorithms::rotateVector (float *x, float *y, float radians) |
| constexpr int32_t | tap::algorithms::ceil (float num) |
| modm::Vector3f | tap::algorithms::eulerAnglesFromQuaternion (modm::Quaternion< float > &q) |
| template<typename T > | |
| int | tap::algorithms::getSign (T val) |
| template<typename T , size_t xSize, size_t ySize> | |
| float | tap::algorithms::interpolateLinear2D (const std::array< std::array< T, ySize >, xSize > &values, const float xMin, const float xMax, const float dx, const float yMin, const float yMax, const float dy, float xDes, float yDes) |
| Bilinear Interpolation of a regularly-spaced grid of values. Let x = dimension 1 and y = dimension 2 of the 2D array of values. | |