5#ifndef __pinocchio_math_rpy_hpp__
6#define __pinocchio_math_rpy_hpp__
8#include "pinocchio/math/fwd.hpp"
9#include "pinocchio/math/comparison-operators.hpp"
10#include "pinocchio/multibody/fwd.hpp"
23 template<
typename Scalar>
24 Eigen::Matrix<Scalar, 3, 3>
rpyToMatrix(
const Scalar & r,
const Scalar & p,
const Scalar & y);
33 template<
typename Vector3Like>
35 Matrix<
typename Vector3Like::Scalar, 3, 3, PINOCCHIO_EIGEN_PLAIN_TYPE(Vector3Like)::Options>
52 template<
typename Matrix3Like>
54 Matrix<
typename Matrix3Like::Scalar, 3, 1, PINOCCHIO_EIGEN_PLAIN_TYPE(Matrix3Like)::Options>
72 template<
typename Vector3Like>
74 Matrix<
typename Vector3Like::Scalar, 3, 3, PINOCCHIO_EIGEN_PLAIN_TYPE(Vector3Like)::Options>
94 template<
typename Vector3Like>
96 Matrix<
typename Vector3Like::Scalar, 3, 3, PINOCCHIO_EIGEN_PLAIN_TYPE(Vector3Like)::Options>
117 template<
typename Vector3Like0,
typename Vector3Like1>
119 Matrix<
typename Vector3Like0::Scalar, 3, 3, PINOCCHIO_EIGEN_PLAIN_TYPE(
Vector3Like0)::Options>
128#include "pinocchio/math/rpy.hxx"
ReferenceFrame
Various conventions to express the velocity of a moving frame.
Eigen::Matrix< Scalar, 3, 3 > rpyToMatrix(const Scalar &r, const Scalar &p, const Scalar &y)
Convert from Roll, Pitch, Yaw to rotation Matrix.
Eigen::Matrix< typename Vector3Like::Scalar, 3, 3, Vector3Like ::Options > computeRpyJacobian(const Eigen::MatrixBase< Vector3Like > &rpy, const ReferenceFrame rf=LOCAL)
Compute the Jacobian of the Roll-Pitch-Yaw conversion.
Eigen::Matrix< typename Vector3Like0::Scalar, 3, 3, Vector3Like0 ::Options > computeRpyJacobianTimeDerivative(const Eigen::MatrixBase< Vector3Like0 > &rpy, const Eigen::MatrixBase< Vector3Like1 > &rpydot, const ReferenceFrame rf=LOCAL)
Compute the time derivative Jacobian of the Roll-Pitch-Yaw conversion.
Eigen::Matrix< typename Matrix3Like::Scalar, 3, 1, Matrix3Like ::Options > matrixToRpy(const Eigen::MatrixBase< Matrix3Like > &R)
Convert from Transformation Matrix to Roll, Pitch, Yaw.
Eigen::Matrix< typename Vector3Like::Scalar, 3, 3, Vector3Like ::Options > computeRpyJacobianInverse(const Eigen::MatrixBase< Vector3Like > &rpy, const ReferenceFrame rf=LOCAL)
Compute the inverse Jacobian of the Roll-Pitch-Yaw conversion.
Main pinocchio namespace.