Function mavros::ftf::quaternion_from_rpy(const double, const double, const double)

Function Documentation

inline Eigen::Quaterniond mavros::ftf::quaternion_from_rpy(const double roll, const double pitch, const double yaw)

Convert euler angles to quaternion.

Returns:

quaternion, same as tf::quaternionFromRPY() but in Eigen format.