![]() |
RML
1.0
Robotics Mathematical Library
|
Euler RPY angle representation. More...
#include <EulerRPY.h>
Public Member Functions | |
| EulerRPY () | |
| EulerRPY (double roll, double pitch, double yaw) | |
| EulerRPY (Eigen::Vector3d vec3) | |
| EulerRPY (Eigen::Quaterniond q) | |
| virtual | ~EulerRPY () |
| auto | Yaw () const -> double |
| auto | Yaw (double yaw) -> void |
| auto | Pitch () const -> double |
| auto | Pitch (double pitch) -> void |
| auto | Roll () const -> double |
| auto | Roll (double roll) -> void |
| auto | RPY (double roll, double pitch, double yaw) -> void |
| auto | RPY (Eigen::Vector3d rpy) -> void |
| auto | ToVector () const -> Eigen::Vector3d |
| Eigen::RotationMatrix | ToRotationMatrix () const |
| Eigen::Vector3d | Derivative (const Eigen::Vector3d &omega) const |
| GetDerivative computes the euler rates (derivative) of 'this', given the angular velocity omega of the frame. Omega is interpreted as projected on the frame itself (body) and not the inertial frame. | |
| Eigen::Vector3d | Omega (const Eigen::Vector3d &rpyDerivarives) const |
| GetOmega computes the angular velocity of the frame given euler rates (derivative) of 'this', Omega is projected on the frame itself (body) and not the inertial frame. | |
| Eigen::Quaterniond | ToQuaternion () const |
Friends | |
| std::ostream & | operator<< (std::ostream &os, EulerRPY const &a) |
Euler RPY angle representation.
This class stores the orientation of a rigid body in terms of the roll, pitch and yaw rotation. The order in which the rotation are applied follows the z-y-x convention: rotate around yaw, then pitch, then roll.
| rml::EulerRPY::EulerRPY | ( | ) |
| rml::EulerRPY::EulerRPY | ( | double | roll, |
| double | pitch, | ||
| double | yaw | ||
| ) |
| rml::EulerRPY::EulerRPY | ( | Eigen::Vector3d | vec3 | ) |
| rml::EulerRPY::EulerRPY | ( | Eigen::Quaterniond | q | ) |
|
virtual |
| Eigen::Vector3d rml::EulerRPY::Derivative | ( | const Eigen::Vector3d & | omega | ) | const |
GetDerivative computes the euler rates (derivative) of 'this', given the angular velocity omega of the frame. Omega is interpreted as projected on the frame itself (body) and not the inertial frame.
| [in] | omega |
| Eigen::Vector3d rml::EulerRPY::Omega | ( | const Eigen::Vector3d & | rpyDerivarives | ) | const |
GetOmega computes the angular velocity of the frame given euler rates (derivative) of 'this', Omega is projected on the frame itself (body) and not the inertial frame.
| [in] | rpyDerivatives | of this |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Eigen::Quaterniond rml::EulerRPY::ToQuaternion | ( | ) | const |
| Eigen::RotationMatrix rml::EulerRPY::ToRotationMatrix | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
friend |