![]() |
EduArt Sensor Ring Library 4.0.0
|
Collection of math functions. More...
#include "sensorring/math/Matrix3.hpp"#include "sensorring/math/Vector3.hpp"#include "sensorring/platform/SensorringExport.hpp"Go to the source code of this file.
Functions | |
| SENSORRING_EXPORT double | eduart::sensorring::math::degreesToRadians (double degrees) |
| Convert degrees to radians. | |
| SENSORRING_EXPORT double | eduart::sensorring::math::radiansToDegrees (double radians) |
| Convert radians to degrees. | |
| SENSORRING_EXPORT const Vector3 | eduart::sensorring::math::eulerDegreesFromRotationMatrix (const Matrix3 &rot_m) |
| Calculate euler angles of a rotation from a rotation matrix (RPY-convention). | |
| SENSORRING_EXPORT const Vector3 | eduart::sensorring::math::eulerRadiansFromRotationMatrix (const Matrix3 &rot_m) |
| Calculate euler angles of a rotation from a rotation matrix (RPY-convention). | |
| SENSORRING_EXPORT const Matrix3 | eduart::sensorring::math::rotMatrixFromEulerDegrees (const Vector3 &rotation_deg) |
| Calculate a rotation matrix from euler angles (RPY-convention). | |
| SENSORRING_EXPORT const Matrix3 | eduart::sensorring::math::rotMatrixFromEulerRadians (const Vector3 &rotation_rad) |
| Calculate a rotation matrix from euler angles (RPY-convention). | |
Variables | |
| static constexpr double | eduart::sensorring::math::PI = 3.141592653589793238462643383279502884 |
| PI constant. | |
Collection of math functions.
| SENSORRING_EXPORT double eduart::sensorring::math::degreesToRadians | ( | double | degrees | ) |
Convert degrees to radians.
| [in] | degrees | Angle in degrees. |
| SENSORRING_EXPORT const Vector3 eduart::sensorring::math::eulerDegreesFromRotationMatrix | ( | const Matrix3 & | rot_m | ) |
Calculate euler angles of a rotation from a rotation matrix (RPY-convention).
| [in] | rot_m | Rotation matrix to be converted to euler angles |
| SENSORRING_EXPORT const Vector3 eduart::sensorring::math::eulerRadiansFromRotationMatrix | ( | const Matrix3 & | rot_m | ) |
Calculate euler angles of a rotation from a rotation matrix (RPY-convention).
| [in] | rot_m | Rotation matrix to be converted to euler angles |
| SENSORRING_EXPORT double eduart::sensorring::math::radiansToDegrees | ( | double | radians | ) |
Convert radians to degrees.
| [in] | radians | Angle in radians. |
| SENSORRING_EXPORT const Matrix3 eduart::sensorring::math::rotMatrixFromEulerDegrees | ( | const Vector3 & | rotation_deg | ) |
Calculate a rotation matrix from euler angles (RPY-convention).
| [in] | rotation_deg | Euler angles in degrees to be converted to a rotation matrix |
| SENSORRING_EXPORT const Matrix3 eduart::sensorring::math::rotMatrixFromEulerRadians | ( | const Vector3 & | rotation_rad | ) |
Calculate a rotation matrix from euler angles (RPY-convention).
| [in] | rotation_rad | Euler angles in radians to be converted to a rotation matrix |