File includes methods for converting CNetworkOfPoses*DInf <=> NetworkOfPoses message types. More...
Namespaces | |
GPS | |
image | |
imu | |
point_cloud | |
range | |
stereo_image | |
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) |
bool | convert (const CObservation2DRangeScan &_obj, sensor_msgs::LaserScan &_msg) |
bool | convert (const CObservation2DRangeScan &_obj, sensor_msgs::LaserScan &_msg, geometry_msgs::Pose &_pose) |
bool | convert (const CObservationBeaconRanges &_obj, mrpt_msgs::ObservationRangeBeacon &_msg) |
bool | convert (const CObservationBeaconRanges &_obj, mrpt_msgs::ObservationRangeBeacon &_msg, geometry_msgs::Pose &_pose) |
bool | convert (const CObservationBearingRange &_obj, mrpt_msgs::ObservationRangeBearing &_msg) |
bool | convert (const CObservationBearingRange &_obj, mrpt_msgs::ObservationRangeBearing &_msg, geometry_msgs::Pose &_pose) |
bool | convert (const marker_msgs::MarkerDetection &_msg, const mrpt::poses::CPose3D &_pose, mrpt::obs::CObservationBeaconRanges &_obj) |
bool | convert (const marker_msgs::MarkerDetection &_msg, const mrpt::poses::CPose3D &_pose, mrpt::obs::CObservationBearingRange &_obj) |
void | convert (const mrpt::system::TTimeStamp &src, ros::Time &des) |
bool | convert (const mrpt_msgs::ObservationRangeBeacon &_msg, const mrpt::poses::CPose3D &_pose, CObservationBeaconRanges &_obj) |
bool | convert (const mrpt_msgs::ObservationRangeBearing &_msg, const mrpt::poses::CPose3D &_pose, CObservationBearingRange &_obj) |
void | convert (const ros::Time &src, mrpt::system::TTimeStamp &des) |
bool | convert (const sensor_msgs::LaserScan &_msg, const mrpt::poses::CPose3D &_pose, CObservation2DRangeScan &_obj) |
void | convert (mrpt_msgs::NetworkOfPoses &ros_graph, const mrpt::graphs::CNetworkOfPoses3DInf_NA &mrpt_graph) |
bool | copy (const CSimplePointsMap &obj, const std_msgs::Header &msg_header, sensor_msgs::PointCloud2 &msg) |
bool | copy (const sensor_msgs::PointCloud2 &msg, CSimplePointsMap &obj) |
void | get_float_from_field (const sensor_msgs::PointField *field, const unsigned char *data, float &output) |
void | mrptToROSLoggerCallback (const std::string &msg, const VerbosityLevel level, const std::string &loggerName, const mrpt::system::TTimeStamp timestamp) |
callback that is called by MRPT mrpt::utils::COuputLogger to redirect log messages to ROS logger. This function has to be inline, otherwise option log4j.logger.ros.package_name will be taken from mrpt_bridge instead of the package from which macro is actually called. More... | |
void | mrptToROSLoggerCallback_mrpt_15 (const std::string &msg, const VerbosityLevel level, const std::string &loggerName, const mrpt::system::TTimeStamp timestamp, void *userParam) |
mrpt::math::TPose3D | p2t (const mrpt::poses::CPose3D &p) |
VerbosityLevel | rosLoggerLvlToMRPTLoggerLvl (log4cxx::LevelPtr lvl) |
function that converts ROS verbosity level log4cxx::Level to MRPT equivalent MRPT's VerbosityLevel More... | |
ObservationRangeBeacon: ROS <-> MRPT | |
bool | convert (const mrpt_msgs::ObservationRangeBeacon &_msg, const mrpt::poses::CPose3D &_pose, mrpt::obs::CObservationBeaconRanges &_obj) |
bool | convert (const mrpt::obs::CObservationBeaconRanges &_obj, mrpt_msgs::ObservationRangeBeacon &_msg) |
bool | convert (const mrpt::obs::CObservationBeaconRanges &_obj, mrpt_msgs::ObservationRangeBeacon &_msg, geometry_msgs::Pose &_pose) |
bool | convert (const mrpt_msgs::ObservationRangeBeacon &_msg, const mrpt::poses::CPose3D &_pose, mrpt::slam::CObservationBeaconRanges &_obj) |
bool | convert (const mrpt::slam::CObservationBeaconRanges &_obj, mrpt_msgs::ObservationRangeBeacon &_msg) |
bool | convert (const mrpt::slam::CObservationBeaconRanges &_obj, mrpt_msgs::ObservationRangeBeacon &_msg, geometry_msgs::Pose &_pose) |
LaserScan: ROS <-> MRPT | |
bool | convert (const mrpt_msgs::ObservationRangeBearing &_msg, const mrpt::poses::CPose3D &_pose, mrpt::obs::CObservationBearingRange &_obj) |
bool | convert (const mrpt::obs::CObservationBearingRange &_obj, mrpt_msgs::ObservationRangeBearing &_msg) |
bool | convert (const mrpt::obs::CObservationBearingRange &_obj, mrpt_msgs::ObservationRangeBearing &_msg, geometry_msgs::Pose &_pose) |
bool | convert (const sensor_msgs::LaserScan &_msg, const mrpt::poses::CPose3D &_pose, mrpt::obs::CObservation2DRangeScan &_obj) |
bool | convert (const mrpt::obs::CObservation2DRangeScan &_obj, sensor_msgs::LaserScan &_msg) |
bool | convert (const mrpt::obs::CObservation2DRangeScan &_obj, sensor_msgs::LaserScan &_msg, geometry_msgs::Pose &_pose) |
ROS \rightarrow MRPT conversions | |
void | convert (const mrpt::graphs::CNetworkOfPoses2D &mrpt_graph, mrpt_msgs::NetworkOfPoses &ros_graph) |
Convert [MRPT] CNetworkOfPoses*D \rightarrow [ROS] NetworkOfPoses. More... | |
void | convert (const mrpt::graphs::CNetworkOfPoses3D &mrpt_graph, mrpt_msgs::NetworkOfPoses &ros_graph) |
void | convert (const mrpt::graphs::CNetworkOfPoses2DInf &mrpt_graph, mrpt_msgs::NetworkOfPoses &ros_graph) |
void | convert (const mrpt::graphs::CNetworkOfPoses3DInf &mrpt_graph, mrpt_msgs::NetworkOfPoses &ros_graph) |
void | convert (const mrpt::graphs::CNetworkOfPoses2DInf_NA &mrpt_graph, mrpt_msgs::NetworkOfPoses &ros_graph) |
void | convert (const mrpt::graphs::CNetworkOfPoses3DInf_NA &mrpt_graph, mrpt_msgs::NetworkOfPoses &ros_graph) |
void | convert (const mrpt_msgs::NetworkOfPoses &ros_graph, mrpt::graphs::CNetworkOfPoses2DInf &mrpt_graph) |
void | convert (const mrpt_msgs::NetworkOfPoses &ros_graph, mrpt::graphs::CNetworkOfPoses3DInf &mrpt_graph) |
void | convert (const mrpt_msgs::NetworkOfPoses &ros_graph, mrpt::graphs::CNetworkOfPoses2DInf_NA &mrpt_graph) |
void | convert (const mrpt_msgs::NetworkOfPoses &ros_graph, mrpt::graphs::CNetworkOfPoses3DInf_NA &mrpt_graph) |
mrpt::poses::CPose3D & | convert (const tf::Transform &_src, mrpt::poses::CPose3D &_des) |
mrpt::math::CMatrixDouble33 & | convert (const tf::Matrix3x3 &_src, mrpt::math::CMatrixDouble33 &_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::CPose3DPDFGaussianInf & | convert (const geometry_msgs::PoseWithCovariance &_src, mrpt::poses::CPose3DPDFGaussianInf &_des) |
mrpt::poses::CPosePDFGaussian & | convert (const geometry_msgs::PoseWithCovariance &_src, mrpt::poses::CPosePDFGaussian &_des) |
mrpt::poses::CPosePDFGaussianInf & | convert (const geometry_msgs::PoseWithCovariance &_src, mrpt::poses::CPosePDFGaussianInf &_des) |
mrpt::poses::CQuaternionDouble & | convert (const geometry_msgs::Quaternion &_src, mrpt::poses::CQuaternionDouble &_des) |
File includes methods for converting CNetworkOfPoses*DInf <=> NetworkOfPoses message types.
ROS message: http://docs.ros.org/api/sensor_msgs/html/msg/NavSatFix.html MRPT message: https://github.com/MRPT/mrpt/blob/master/libs/obs/include/mrpt/obs/CObservationGPS.h
ROS message: http://docs.ros.org/api/sensor_msgs/html/msg/Imu.html MRPT message: https://github.com/MRPT/mrpt/blob/master/libs/obs/include/mrpt/obs/CObservationIMU.h
ROS message : http://docs.ros.org/api/sensor_msgs/html/msg/Range.html MRPT message: https://github.com/MRPT/mrpt/blob/master/libs/obs/include/mrpt/obs/CObservationRange.h
|
inline |
Definition at line 23 of file point_cloud2.cpp.
bool mrpt_bridge::convert | ( | const CObservation2DRangeScan & | _obj, |
sensor_msgs::LaserScan & | _msg | ||
) |
Definition at line 66 of file laser_scan.cpp.
bool mrpt_bridge::convert | ( | const CObservation2DRangeScan & | _obj, |
sensor_msgs::LaserScan & | _msg, | ||
geometry_msgs::Pose & | _pose | ||
) |
Definition at line 92 of file laser_scan.cpp.
bool mrpt_bridge::convert | ( | const CObservationBeaconRanges & | _obj, |
mrpt_msgs::ObservationRangeBeacon & | _msg | ||
) |
Definition at line 59 of file beacon.cpp.
bool mrpt_bridge::convert | ( | const CObservationBeaconRanges & | _obj, |
mrpt_msgs::ObservationRangeBeacon & | _msg, | ||
geometry_msgs::Pose & | _pose | ||
) |
Definition at line 87 of file beacon.cpp.
bool mrpt_bridge::convert | ( | const CObservationBearingRange & | _obj, |
mrpt_msgs::ObservationRangeBearing & | _msg | ||
) |
Definition at line 71 of file landmark.cpp.
bool mrpt_bridge::convert | ( | const CObservationBearingRange & | _obj, |
mrpt_msgs::ObservationRangeBearing & | _msg, | ||
geometry_msgs::Pose & | _pose | ||
) |
Definition at line 102 of file landmark.cpp.
bool mrpt_bridge::convert | ( | const COccupancyGridMap2D & | src, |
nav_msgs::OccupancyGrid & | msg | ||
) |
bool mrpt_bridge::convert | ( | const COccupancyGridMap2D & | src, |
nav_msgs::OccupancyGrid & | msg, | ||
const std_msgs::Header & | header | ||
) |
mrpt::poses::CPose2D & mrpt_bridge::convert | ( | const geometry_msgs::Pose & | _src, |
mrpt::poses::CPose2D & | _des | ||
) |
mrpt::poses::CPose3D & mrpt_bridge::convert | ( | const geometry_msgs::Pose & | _src, |
mrpt::poses::CPose3D & | _des | ||
) |
mrpt::poses::CPose3DPDFGaussian & mrpt_bridge::convert | ( | const geometry_msgs::PoseWithCovariance & | _src, |
mrpt::poses::CPose3DPDFGaussian & | _des | ||
) |
mrpt::poses::CPose3DPDFGaussianInf & mrpt_bridge::convert | ( | const geometry_msgs::PoseWithCovariance & | _src, |
mrpt::poses::CPose3DPDFGaussianInf & | _des | ||
) |
mrpt::poses::CPosePDFGaussian & mrpt_bridge::convert | ( | const geometry_msgs::PoseWithCovariance & | _src, |
mrpt::poses::CPosePDFGaussian & | _des | ||
) |
mrpt::poses::CPosePDFGaussianInf & mrpt_bridge::convert | ( | const geometry_msgs::PoseWithCovariance & | _src, |
mrpt::poses::CPosePDFGaussianInf & | _des | ||
) |
mrpt::poses::CQuaternionDouble & mrpt_bridge::convert | ( | const geometry_msgs::Quaternion & | _src, |
mrpt::poses::CQuaternionDouble & | _des | ||
) |
bool mrpt_bridge::convert | ( | const marker_msgs::MarkerDetection & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
mrpt::obs::CObservationBeaconRanges & | _obj | ||
) |
Definition at line 58 of file marker_msgs.cpp.
bool mrpt_bridge::convert | ( | const marker_msgs::MarkerDetection & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
mrpt::obs::CObservationBearingRange & | _obj | ||
) |
Definition at line 27 of file marker_msgs.cpp.
void mrpt_bridge::convert | ( | const mrpt::graphs::CNetworkOfPoses2D & | mrpt_graph, |
mrpt_msgs::NetworkOfPoses & | ros_graph | ||
) |
Convert [MRPT] CNetworkOfPoses*D \rightarrow [ROS] NetworkOfPoses.
Convert [ROS] NetworkOfPoses \rightarrow [MRPT] CNetworkOfPoses*DInf.
[in] | mrpt_graph | MRPT graph representation |
[out] | ros_graph | ROS graph representation |
[in] | mrpt_graph | ROS graph representation |
[out] | ros_graph | MRPT graph representation |
void mrpt_bridge::convert | ( | const mrpt::graphs::CNetworkOfPoses2DInf & | mrpt_graph, |
mrpt_msgs::NetworkOfPoses & | ros_graph | ||
) |
Definition at line 33 of file network_of_poses.cpp.
void mrpt_bridge::convert | ( | const mrpt::graphs::CNetworkOfPoses2DInf_NA & | mrpt_graph, |
mrpt_msgs::NetworkOfPoses & | ros_graph | ||
) |
Definition at line 109 of file network_of_poses.cpp.
void mrpt_bridge::convert | ( | const mrpt::graphs::CNetworkOfPoses3D & | mrpt_graph, |
mrpt_msgs::NetworkOfPoses & | ros_graph | ||
) |
void mrpt_bridge::convert | ( | const mrpt::graphs::CNetworkOfPoses3DInf & | mrpt_graph, |
mrpt_msgs::NetworkOfPoses & | ros_graph | ||
) |
Definition at line 99 of file network_of_poses.cpp.
void mrpt_bridge::convert | ( | const mrpt::graphs::CNetworkOfPoses3DInf_NA & | mrpt_graph, |
mrpt_msgs::NetworkOfPoses & | ros_graph | ||
) |
Definition at line 184 of file network_of_poses.cpp.
tf::Matrix3x3 & mrpt_bridge::convert | ( | const mrpt::math::CMatrixDouble33 & | _src, |
tf::Matrix3x3 & | _des | ||
) |
geometry_msgs::Pose & mrpt_bridge::convert | ( | const mrpt::math::TPose2D & | _src, |
geometry_msgs::Pose & | _des | ||
) |
tf::Transform & mrpt_bridge::convert | ( | const mrpt::math::TPose2D & | _src, |
tf::Transform & | _des | ||
) |
tf::Transform & mrpt_bridge::convert | ( | const mrpt::math::TPose3D & | _src, |
tf::Transform & | _des | ||
) |
bool mrpt_bridge::convert | ( | const mrpt::obs::CObservation2DRangeScan & | _obj, |
sensor_msgs::LaserScan & | _msg | ||
) |
MRPT->ROS: Takes a CObservation2DRangeScan and outputs range data in sensor_msgs::LaserScan
bool mrpt_bridge::convert | ( | const mrpt::obs::CObservation2DRangeScan & | _obj, |
sensor_msgs::LaserScan & | _msg, | ||
geometry_msgs::Pose & | _pose | ||
) |
MRPT->ROS: Takes a CObservation2DRangeScan and outputs range data in sensor_msgs::LaserScan + the relative pose of the laser wrt base_link
bool mrpt_bridge::convert | ( | const mrpt::obs::CObservationBeaconRanges & | _obj, |
mrpt_msgs::ObservationRangeBeacon & | _msg | ||
) |
MRPT->ROS: Takes a CObservationBeaconRanges and outputs range data in mrpt_msgs::ObservationRangeBeacon
bool mrpt_bridge::convert | ( | const mrpt::obs::CObservationBeaconRanges & | _obj, |
mrpt_msgs::ObservationRangeBeacon & | _msg, | ||
geometry_msgs::Pose & | _pose | ||
) |
MRPT->ROS: Takes a CObservationBeaconRanges and outputs range data in mrpt_msgs::ObservationRangeBeacon + the relative pose of the range sensor wrt base_link
bool mrpt_bridge::convert | ( | const mrpt::obs::CObservationBearingRange & | _obj, |
mrpt_msgs::ObservationRangeBearing & | _msg | ||
) |
MRPT->ROS: Takes a CObservationBearingRange and outputs range data in mrpt_msgs::ObservationRangeBearing
bool mrpt_bridge::convert | ( | const mrpt::obs::CObservationBearingRange & | _obj, |
mrpt_msgs::ObservationRangeBearing & | _msg, | ||
geometry_msgs::Pose & | _pose | ||
) |
MRPT->ROS: Takes a CObservationBearingRange and outputs range data in mrpt_msgs::ObservationRangeBearing + the relative pose of the range sensor wrt base_link
geometry_msgs::Pose & mrpt_bridge::convert | ( | const mrpt::poses::CPose2D & | _src, |
geometry_msgs::Pose & | _des | ||
) |
tf::Transform & mrpt_bridge::convert | ( | const mrpt::poses::CPose2D & | _src, |
tf::Transform & | _des | ||
) |
geometry_msgs::Pose & mrpt_bridge::convert | ( | const mrpt::poses::CPose3D & | _src, |
geometry_msgs::Pose & | _des | ||
) |
tf::Transform & mrpt_bridge::convert | ( | const mrpt::poses::CPose3D & | _src, |
tf::Transform & | _des | ||
) |
geometry_msgs::PoseWithCovariance & mrpt_bridge::convert | ( | const mrpt::poses::CPose3DPDFGaussian & | _src, |
geometry_msgs::PoseWithCovariance & | _des | ||
) |
tf::Transform & mrpt_bridge::convert | ( | const mrpt::poses::CPose3DPDFGaussian & | _src, |
tf::Transform & | _des | ||
) |
geometry_msgs::PoseWithCovariance & mrpt_bridge::convert | ( | const mrpt::poses::CPose3DPDFGaussianInf & | _src, |
geometry_msgs::PoseWithCovariance & | _des | ||
) |
geometry_msgs::PoseWithCovariance & mrpt_bridge::convert | ( | const mrpt::poses::CPosePDFGaussian & | _src, |
geometry_msgs::PoseWithCovariance & | _des | ||
) |
geometry_msgs::PoseWithCovariance & mrpt_bridge::convert | ( | const mrpt::poses::CPosePDFGaussianInf & | _src, |
geometry_msgs::PoseWithCovariance & | _des | ||
) |
geometry_msgs::Quaternion & mrpt_bridge::convert | ( | const mrpt::poses::CQuaternionDouble & | _src, |
geometry_msgs::Quaternion & | _des | ||
) |
bool mrpt_bridge::convert | ( | const mrpt::slam::CObservationBeaconRanges & | _obj, |
mrpt_msgs::ObservationRangeBeacon & | _msg | ||
) |
MRPT->ROS: Takes a CObservationBeaconRanges and outputs range data in mrpt_msgs::ObservationRangeBeacon
bool mrpt_bridge::convert | ( | const mrpt::slam::CObservationBeaconRanges & | _obj, |
mrpt_msgs::ObservationRangeBeacon & | _msg, | ||
geometry_msgs::Pose & | _pose | ||
) |
MRPT->ROS: Takes a CObservationBeaconRanges and outputs range data in mrpt_msgs::ObservationRangeBeacon + the relative pose of the range sensor wrt base_link
void mrpt_bridge::convert | ( | const mrpt::system::TTimeStamp & | src, |
ros::Time & | des | ||
) |
void mrpt_bridge::convert | ( | const mrpt_msgs::NetworkOfPoses & | ros_graph, |
mrpt::graphs::CNetworkOfPoses2DInf & | mrpt_graph | ||
) |
Definition at line 195 of file network_of_poses.cpp.
void mrpt_bridge::convert | ( | const mrpt_msgs::NetworkOfPoses & | ros_graph, |
mrpt::graphs::CNetworkOfPoses2DInf_NA & | mrpt_graph | ||
) |
Definition at line 253 of file network_of_poses.cpp.
void mrpt_bridge::convert | ( | const mrpt_msgs::NetworkOfPoses & | ros_graph, |
mrpt::graphs::CNetworkOfPoses3DInf & | mrpt_graph | ||
) |
Definition at line 243 of file network_of_poses.cpp.
void mrpt_bridge::convert | ( | const mrpt_msgs::NetworkOfPoses & | ros_graph, |
mrpt::graphs::CNetworkOfPoses3DInf_NA & | mrpt_graph | ||
) |
bool mrpt_bridge::convert | ( | const mrpt_msgs::ObservationRangeBeacon & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
CObservationBeaconRanges & | _obj | ||
) |
Definition at line 24 of file beacon.cpp.
bool mrpt_bridge::convert | ( | const mrpt_msgs::ObservationRangeBeacon & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
mrpt::obs::CObservationBeaconRanges & | _obj | ||
) |
ROS->MRPT: Takes a mrpt_msgs::ObservationRangeBeacon and the relative pose of the range sensor wrt base_link and builds a CObservationBeaconRanges
bool mrpt_bridge::convert | ( | const mrpt_msgs::ObservationRangeBeacon & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
mrpt::slam::CObservationBeaconRanges & | _obj | ||
) |
ROS->MRPT: Takes a mrpt_msgs::ObservationRangeBeacon and the relative pose of the range sensor wrt base_link and builds a CObservationBeaconRanges
bool mrpt_bridge::convert | ( | const mrpt_msgs::ObservationRangeBearing & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
CObservationBearingRange & | _obj | ||
) |
Definition at line 30 of file landmark.cpp.
bool mrpt_bridge::convert | ( | const mrpt_msgs::ObservationRangeBearing & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
mrpt::obs::CObservationBearingRange & | _obj | ||
) |
ROS->MRPT: Takes a mrpt_msgs::CObservationBearingRange and the relative pose of the laser wrt base_link and builds a ObservationRangeBearing
bool mrpt_bridge::convert | ( | const nav_msgs::OccupancyGrid & | src, |
COccupancyGridMap2D & | des | ||
) |
void mrpt_bridge::convert | ( | const ros::Time & | src, |
mrpt::system::TTimeStamp & | des | ||
) |
bool mrpt_bridge::convert | ( | const sensor_msgs::LaserScan & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
CObservation2DRangeScan & | _obj | ||
) |
Definition at line 22 of file laser_scan.cpp.
bool mrpt_bridge::convert | ( | const sensor_msgs::LaserScan & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
mrpt::obs::CObservation2DRangeScan & | _obj | ||
) |
ROS->MRPT: Takes a sensor_msgs::LaserScan and the relative pose of the laser wrt base_link and builds a CObservation2DRangeScan
mrpt::math::CMatrixDouble33 & mrpt_bridge::convert | ( | const tf::Matrix3x3 & | _src, |
mrpt::math::CMatrixDouble33 & | _des | ||
) |
mrpt::poses::CPose3D & mrpt_bridge::convert | ( | const tf::Transform & | _src, |
mrpt::poses::CPose3D & | _des | ||
) |
void mrpt_bridge::convert | ( | mrpt_msgs::NetworkOfPoses & | ros_graph, |
const mrpt::graphs::CNetworkOfPoses3DInf_NA & | mrpt_graph | ||
) |
Definition at line 309 of file network_of_poses.cpp.
bool mrpt_bridge::copy | ( | const 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.
Definition at line 113 of file point_cloud2.cpp.
bool mrpt_bridge::copy | ( | const mrpt::maps::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.
bool mrpt_bridge::copy | ( | const sensor_msgs::PointCloud2 & | msg, |
CSimplePointsMap & | obj | ||
) |
Convert sensor_msgs/PointCloud2 -> mrpt::slam::CSimplePointsMap
Definition at line 64 of file point_cloud2.cpp.
bool mrpt_bridge::copy | ( | const sensor_msgs::PointCloud2 & | msg, |
mrpt::maps::CSimplePointsMap & | obj | ||
) |
Convert sensor_msgs/PointCloud2 -> mrpt::slam::CSimplePointsMap CSimplePointsMap only contains (x,y,z) data, so sensor_msgs::PointCloud2::channels are ignored.
|
inline |
Definition at line 44 of file point_cloud2.cpp.
|
inline |
callback that is called by MRPT mrpt::utils::COuputLogger to redirect log messages to ROS logger. This function has to be inline, otherwise option log4j.logger.ros.package_name will be taken from mrpt_bridge instead of the package from which macro is actually called.
|
inline |
|
inline |