template<typename Type > |
Eigen::Quaternion< Type > | px4_ros2::attitudeNedToEnu (const Eigen::Quaternion< Type > &q_ned) |
| Converts attitude from NED to ENU frame. Performs reference frame change and quaternion rotation s.t. the identity quaternion points along the x-axis within its reference frame. More...
|
|
template<typename Type > |
Eigen::Quaternion< Type > | px4_ros2::attitudeEnuToNed (const Eigen::Quaternion< Type > &q_enu) |
| Converts attitude from ENU to NED frame. Performs reference frame change and quaternion rotation s.t. the identity quaternion points along the x-axis within its reference frame. More...
|
|
template<typename Type > |
Eigen::Matrix< Type, 3, 1 > | px4_ros2::yawBodyToWorld (Type yaw, const Eigen::Matrix< Type, 3, 1 > &point_body) |
| Transforms a point from body frame to world frame given the yaw of the body's attitude. More...
|
|
template<typename T > |
static T | px4_ros2::yawNedToEnu (const T yaw_ned_rad) |
| Converts yaw from NED to ENU frame. More...
|
|
template<typename T > |
static T | px4_ros2::yawEnuToNed (const T yaw_enu_rad) |
| Converts yaw from ENU to NED frame. More...
|
|
template<typename T > |
static T | px4_ros2::yawRateNedToEnu (const T yaw_rate_ned) |
| Converts yaw rate from NED to ENU frame. More...
|
|
template<typename T > |
static T | px4_ros2::yawRateEnuToNed (const T yaw_rate_enu) |
| Converts yaw rate from ENU to NED frame. More...
|
|
template<typename T > |
static Eigen::Matrix< T, 3, 1 > | px4_ros2::positionNedToEnu (const Eigen::Matrix< T, 3, 1 > &ned) |
| Converts coordinates from NED to ENU frame. More...
|
|
template<typename T > |
static Eigen::Matrix< T, 3, 1 > | px4_ros2::positionEnuToNed (const Eigen::Matrix< T, 3, 1 > &enu) |
| Converts coordinates from ENU to NED frame. More...
|
|
template<typename T > |
static Eigen::Matrix< T, 3, 1 > | px4_ros2::frdToFlu (const Eigen::Matrix< T, 3, 1 > &frd) |
| Converts coordinates from FRD to FLU frame. More...
|
|
template<typename T > |
static Eigen::Matrix< T, 3, 1 > | px4_ros2::fluToFrd (const Eigen::Matrix< T, 3, 1 > &flu) |
| Converts coordinates from FLU to FRD frame. More...
|
|
template<typename T > |
static Eigen::Matrix< T, 3, 1 > | px4_ros2::varianceNedToEnu (const Eigen::Matrix< T, 3, 1 > &v_ned) |
| Converts variance from NED to ENU frame. More...
|
|
template<typename T > |
static Eigen::Matrix< T, 3, 1 > | px4_ros2::varianceEnuToNed (const Eigen::Matrix< T, 3, 1 > &v_enu) |
| Converts variance from ENU to NED frame. More...
|
|
This group contains helper functions to switch between reference frames.