#include <vector>
#include <utility>
#include <geometry_msgs/PoseWithCovariance.h>
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <limits>
#include <msf_core/msf_types.hpp>
#include <msf_core/eigen_utils.h>
Go to the source code of this file.
Functions |
Vector3 | msf_core::geometry_msgsToEigen (const geometry_msgs::Point &p) |
| Converts a geometry_msgs::Point to an Eigen Vector3d.
|
Eigen::Quaterniond | msf_core::geometry_msgsToEigen (const geometry_msgs::Quaternion &q) |
| Converts a geometry_msgs::Quaternion to an Eigen::Quaterniond.
|
Matrix3 | msf_core::geometry_msgsCovBlockToEigen (const geometry_msgs::PoseWithCovariance::_covariance_type &gcov, int start_row, int start_col) |
| Returns a 3x3 covariance block entry from a geometry_msgs::PoseWithCovariance::covariance array.
|
template<class Derived > |
void | msf_core::eigenCovBlockToGeometry_msgs (geometry_msgs::PoseWithCovariance::_covariance_type &gcov, const Eigen::MatrixBase< Derived > &ecov, int start_row, int start_col) |
| Fills a 3x3 covariance block entry of a geometry_msgs::PoseWithCovariance::covariance array from an Eigen 3x3 matrix.
|
template<class Derived > |
geometry_msgs::Point | msf_core::eigenToGeometry_msgs (const Eigen::MatrixBase< Derived > &p) |
| Converts any eigen vector with 3 elements to a geometry_msgs::Point.
|
geometry_msgs::Quaternion | msf_core::eigenToGeometry_msgs (const Eigen::Quaterniond &q) |
| Converts an Eigen::Quaterniond to a geometry_msgs::Quaternion.
|