EduArt Sensor Ring Library 3.0.1
Loading...
Searching...
No Matches
Math.hpp File Reference

Collection of math functions. More...

Include dependency graph for Math.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SENSORRING_API const Vector3 eduart::math::eulerDegreesFromRotationMatrix (const Matrix3 &rot_m)
SENSORRING_API const Vector3 eduart::math::eulerRadiansFromRotationMatrix (const Matrix3 &rot_m)
SENSORRING_API const Matrix3 eduart::math::rotMatrixFromEulerDegrees (const Vector3 &rotation_deg)
SENSORRING_API const Matrix3 eduart::math::rotMatrixFromEulerRadians (const Vector3 &rotation_rad)

Detailed Description

Collection of math functions.

Author
EduArt Robotik GmbH
Date
2025-11-20

Function Documentation

◆ eulerDegreesFromRotationMatrix()

SENSORRING_API const Vector3 eduart::math::eulerDegreesFromRotationMatrix ( const Matrix3 & rot_m)

Calculate euler angles of a rotation from a rotation matrix (RPY-convention)

Parameters
[in]rot_mRotation matrix to be converted to euler angles
Returns
Euler angles in degrees

◆ eulerRadiansFromRotationMatrix()

SENSORRING_API const Vector3 eduart::math::eulerRadiansFromRotationMatrix ( const Matrix3 & rot_m)

Calculate euler angles of a rotation from a rotation matrix (RPY-convention)

Parameters
[in]rot_mRotation matrix to be converted to euler angles
Returns
Euler angles in radians

◆ rotMatrixFromEulerDegrees()

SENSORRING_API const Matrix3 eduart::math::rotMatrixFromEulerDegrees ( const Vector3 & rotation_deg)

Calculate a rotation matrix from euler angles (RPY-convention)

Parameters
[in]rotation_degEuler angles in degrees to be converted to a rotation matrix
Returns
Rotation matrix

◆ rotMatrixFromEulerRadians()

SENSORRING_API const Matrix3 eduart::math::rotMatrixFromEulerRadians ( const Vector3 & rotation_rad)

Calculate a rotation matrix from euler angles (RPY-convention)

Parameters
[in]rotation_degEuler angles in radians to be converted to a rotation matrix
Returns
Rotation matrix