Namespaces |
namespace | point_cloud |
Classes |
class | MapHdl |
| the map class is implemented as singeleton use map::instance ()->ros2mrpt ... More...
|
Functions |
bool | check_field (const sensor_msgs::PointField &input_field, std::string check_name, const sensor_msgs::PointField **output) |
void | convert (const ros::Time &src, mrpt::system::TTimeStamp &des) |
void | convert (const mrpt::system::TTimeStamp &src, ros::Time &des) |
bool | convert (const sensor_msgs::LaserScan &_msg, const mrpt::poses::CPose3D &_pose, mrpt::slam::CObservation2DRangeScan &_obj) |
mrpt::math::CMatrixDouble33 & | convert (const tf::Matrix3x3 &_src, mrpt::math::CMatrixDouble33 &_des) |
bool | convert (const mrpt::slam::CObservation2DRangeScan &_obj, sensor_msgs::LaserScan &_msg) |
tf::Matrix3x3 & | convert (const mrpt::math::CMatrixDouble33 &_src, tf::Matrix3x3 &_des) |
tf::Transform & | convert (const mrpt::poses::CPose3D &_src, tf::Transform &_des) |
bool | convert (const mrpt::slam::CObservation2DRangeScan &_obj, sensor_msgs::LaserScan &_msg, geometry_msgs::Pose &_pose) |
mrpt::poses::CPose3D & | convert (const tf::Transform &_src, mrpt::poses::CPose3D &_des) |
geometry_msgs::Pose & | convert (const mrpt::poses::CPose3D &_src, geometry_msgs::Pose &_des) |
geometry_msgs::Pose & | convert (const mrpt::poses::CPose2D &_src, geometry_msgs::Pose &_des) |
geometry_msgs::PoseWithCovariance & | convert (const mrpt::poses::CPose3DPDFGaussian &_src, geometry_msgs::PoseWithCovariance &_des) |
tf::Transform & | convert (const mrpt::poses::CPose3DPDFGaussian &_src, tf::Transform &) |
geometry_msgs::PoseWithCovariance & | convert (const mrpt::poses::CPosePDFGaussian &_src, geometry_msgs::PoseWithCovariance &_des) |
geometry_msgs::Quaternion & | convert (const mrpt::poses::CQuaternionDouble &_src, geometry_msgs::Quaternion &_des) |
mrpt::poses::CPose2D & | convert (const geometry_msgs::Pose &_src, mrpt::poses::CPose2D &_des) |
mrpt::poses::CPose3D & | convert (const geometry_msgs::Pose &_src, mrpt::poses::CPose3D &_des) |
mrpt::poses::CPose3DPDFGaussian & | convert (const geometry_msgs::PoseWithCovariance &_src, mrpt::poses::CPose3DPDFGaussian &_des) |
mrpt::poses::CPosePDFGaussian & | convert (const geometry_msgs::PoseWithCovariance &_src, mrpt::poses::CPosePDFGaussian &_des) |
mrpt::poses::CQuaternionDouble & | convert (const geometry_msgs::Quaternion &_src, mrpt::poses::CQuaternionDouble &_des) |
bool | convert (const nav_msgs::OccupancyGrid &src, mrpt::slam::COccupancyGridMap2D &des) |
bool | convert (const mrpt::slam::COccupancyGridMap2D &src, nav_msgs::OccupancyGrid &msg, const std_msgs::Header &header) |
bool | convert (const mrpt::slam::COccupancyGridMap2D &src, nav_msgs::OccupancyGrid &msg) |
bool | copy (const sensor_msgs::PointCloud2 &msg, mrpt::slam::CSimplePointsMap &obj) |
bool | copy (const mrpt::slam::CSimplePointsMap &obj, const std_msgs::Header &msg_header, sensor_msgs::PointCloud2 &msg) |
void | get_float_from_field (const sensor_msgs::PointField *field, const unsigned char *data, float &output) |
bool mrpt_bridge::copy |
( |
const sensor_msgs::PointCloud2 & |
msg, |
|
|
mrpt::slam::CSimplePointsMap & |
obj |
|
) |
| |
Convert sensor_msgs/PointCloud2 -> mrpt::slam::CSimplePointsMap CSimplePointsMap only contains (x,y,z) data, so sensor_msgs::PointCloud2::channels are ignored.
- Returns:
- true on sucessful conversion, false on any error.
- See also:
- mrpt2ros
Convert sensor_msgs/PointCloud2 -> mrpt::slam::CSimplePointsMap
- Returns:
- true on sucessful conversion, false on any error.
Definition at line 49 of file point_cloud2.cpp.
bool mrpt_bridge::copy |
( |
const mrpt::slam::CSimplePointsMap & |
obj, |
|
|
const std_msgs::Header & |
msg_header, |
|
|
sensor_msgs::PointCloud2 & |
msg |
|
) |
| |
Convert mrpt::slam::CSimplePointsMap -> sensor_msgs/PointCloud2 The user must supply the "msg_header" field to be copied into the output message object, since that part does not appear in MRPT classes.
Since CSimplePointsMap only contains (x,y,z) data, sensor_msgs::PointCloud2::channels will be empty.
- Returns:
- true on sucessful conversion, false on any error.
- See also:
- ros2mrpt
Convert mrpt::slam::CSimplePointsMap -> sensor_msgs/PointCloud2 The user must supply the "msg_header" field to be copied into the output message object, since that part does not appear in MRPT classes.
Since CSimplePointsMap only contains (x,y,z) data, sensor_msgs::PointCloud2::channels will be empty.
- Returns:
- true on sucessful conversion, false on any error.
Definition at line 94 of file point_cloud2.cpp.