File includes methods for converting CNetworkOfPoses*DInf <=> NetworkOfPoses message types. More...
Namespaces | |
namespace | GPS |
namespace | image |
namespace | imu |
namespace | point_cloud |
namespace | range |
namespace | 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) |
void | convert (const ros::Time &src, mrpt::system::TTimeStamp &des) |
bool | convert (const sensor_msgs::LaserScan &_msg, const mrpt::poses::CPose3D &_pose, CObservation2DRangeScan &_obj) |
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 mrpt::system::TTimeStamp &src, ros::Time &des) |
bool | convert (const CObservationBeaconRanges &_obj, mrpt_msgs::ObservationRangeBeacon &_msg) |
bool | convert (const CObservation2DRangeScan &_obj, sensor_msgs::LaserScan &_msg) |
bool | convert (const marker_msgs::MarkerDetection &_msg, const mrpt::poses::CPose3D &_pose, mrpt::obs::CObservationBearingRange &_obj) |
bool | convert (const marker_msgs::MarkerDetection &_msg, const mrpt::poses::CPose3D &_pose, mrpt::obs::CObservationBeaconRanges &_obj) |
bool | convert (const CObservationBearingRange &_obj, mrpt_msgs::ObservationRangeBearing &_msg) |
bool | convert (const CObservationBeaconRanges &_obj, mrpt_msgs::ObservationRangeBeacon &_msg, geometry_msgs::Pose &_pose) |
bool | convert (const CObservation2DRangeScan &_obj, sensor_msgs::LaserScan &_msg, geometry_msgs::Pose &_pose) |
bool | convert (const CObservationBearingRange &_obj, mrpt_msgs::ObservationRangeBearing &_msg, geometry_msgs::Pose &_pose) |
void | convert (mrpt_msgs::NetworkOfPoses &ros_graph, const mrpt::graphs::CNetworkOfPoses3DInf_NA &mrpt_graph) |
bool | copy (const sensor_msgs::PointCloud2 &msg, CSimplePointsMap &obj) |
bool | copy (const 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) |
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. | |
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 | |
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) |
Maps, Occupancy Grid Maps: ROS <-> MRPT | |
bool | convert (const nav_msgs::OccupancyGrid &src, COccupancyGridMap2D &des) |
bool | convert (const COccupancyGridMap2D &src, nav_msgs::OccupancyGrid &msg, const std_msgs::Header &header) |
bool | convert (const COccupancyGridMap2D &src, nav_msgs::OccupancyGrid &msg) |
ROS \rightarrow MRPT conversions | |
void | convert (const mrpt::graphs::CNetworkOfPoses2D &mrpt_graph, mrpt_msgs::NetworkOfPoses &ros_graph) |
Convert [MRPT] CNetworkOfPoses*D [ROS] NetworkOfPoses. | |
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) |
sensor_msgs::PointCloud2: ROS <-> MRPT | |
bool | copy (const sensor_msgs::PointCloud2 &msg, mrpt::maps::CSimplePointsMap &obj) |
bool | copy (const mrpt::maps::CSimplePointsMap &obj, const std_msgs::Header &msg_header, sensor_msgs::PointCloud2 &msg) |
MRPT \rightarrow ROS conversions | |
tf::Matrix3x3 & | convert (const mrpt::math::CMatrixDouble33 &_src, tf::Matrix3x3 &_des) |
tf::Transform & | convert (const mrpt::poses::CPose3D &_src, tf::Transform &_des) |
tf::Transform & | convert (const mrpt::math::TPose3D &_src, tf::Transform &_des) |
tf::Transform & | convert (const mrpt::poses::CPose2D &_src, tf::Transform &_des) |
tf::Transform & | convert (const mrpt::math::TPose2D &_src, tf::Transform &_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) |
geometry_msgs::PoseWithCovariance & | convert (const mrpt::poses::CPose3DPDFGaussianInf &_src, geometry_msgs::PoseWithCovariance &_des) |
tf::Transform & | convert (const mrpt::poses::CPose3DPDFGaussian &_src, tf::Transform &_des) |
geometry_msgs::PoseWithCovariance & | convert (const mrpt::poses::CPosePDFGaussian &_src, geometry_msgs::PoseWithCovariance &_des) |
geometry_msgs::PoseWithCovariance & | convert (const mrpt::poses::CPosePDFGaussianInf &_src, geometry_msgs::PoseWithCovariance &_des) |
geometry_msgs::Quaternion & | convert (const mrpt::poses::CQuaternionDouble &_src, geometry_msgs::Quaternion &_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
bool mrpt_bridge::check_field | ( | const sensor_msgs::PointField & | input_field, |
std::string | check_name, | ||
const sensor_msgs::PointField ** | output | ||
) | [inline] |
Definition at line 14 of file point_cloud2.cpp.
void mrpt_bridge::convert | ( | const ros::Time & | src, |
mrpt::system::TTimeStamp & | des | ||
) | [inline] |
bool mrpt_bridge::convert | ( | const sensor_msgs::LaserScan & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
CObservation2DRangeScan & | _obj | ||
) |
Definition at line 14 of file laser_scan.cpp.
bool mrpt_bridge::convert | ( | const mrpt_msgs::ObservationRangeBeacon & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
CObservationBeaconRanges & | _obj | ||
) |
Definition at line 16 of file beacon.cpp.
bool mrpt_bridge::convert | ( | const mrpt_msgs::ObservationRangeBearing & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
CObservationBearingRange & | _obj | ||
) |
Definition at line 21 of file landmark.cpp.
void mrpt_bridge::convert | ( | const mrpt::system::TTimeStamp & | src, |
ros::Time & | des | ||
) | [inline] |
void mrpt_bridge::convert | ( | const mrpt::graphs::CNetworkOfPoses2D & | mrpt_graph, |
mrpt_msgs::NetworkOfPoses & | ros_graph | ||
) |
Convert [MRPT] CNetworkOfPoses*D [ROS] NetworkOfPoses.
Convert [ROS] NetworkOfPoses [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::CNetworkOfPoses3D & | mrpt_graph, |
mrpt_msgs::NetworkOfPoses & | ros_graph | ||
) |
void mrpt_bridge::convert | ( | const mrpt::graphs::CNetworkOfPoses2DInf & | mrpt_graph, |
mrpt_msgs::NetworkOfPoses & | ros_graph | ||
) |
Definition at line 35 of file network_of_poses.cpp.
void mrpt_bridge::convert | ( | const mrpt::graphs::CNetworkOfPoses3DInf & | mrpt_graph, |
mrpt_msgs::NetworkOfPoses & | ros_graph | ||
) |
Definition at line 101 of file network_of_poses.cpp.
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
void mrpt_bridge::convert | ( | const mrpt::graphs::CNetworkOfPoses2DInf_NA & | mrpt_graph, |
mrpt_msgs::NetworkOfPoses & | ros_graph | ||
) |
Definition at line 111 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 186 of file network_of_poses.cpp.
bool mrpt_bridge::convert | ( | const CObservationBeaconRanges & | _obj, |
mrpt_msgs::ObservationRangeBeacon & | _msg | ||
) |
Definition at line 51 of file beacon.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
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 CObservation2DRangeScan & | _obj, |
sensor_msgs::LaserScan & | _msg | ||
) |
Definition at line 58 of file laser_scan.cpp.
bool mrpt_bridge::convert | ( | const marker_msgs::MarkerDetection & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
mrpt::obs::CObservationBearingRange & | _obj | ||
) |
Definition at line 22 of file marker_msgs.cpp.
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 marker_msgs::MarkerDetection & | _msg, |
const mrpt::poses::CPose3D & | _pose, | ||
mrpt::obs::CObservationBeaconRanges & | _obj | ||
) |
Definition at line 44 of file marker_msgs.cpp.
tf::Matrix3x3 & mrpt_bridge::convert | ( | const mrpt::math::CMatrixDouble33 & | _src, |
tf::Matrix3x3 & | _des | ||
) |
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 mrpt::obs::CObservation2DRangeScan & | _obj, |
sensor_msgs::LaserScan & | _msg | ||
) |
MRPT->ROS: Takes a CObservation2DRangeScan and outputs range data in sensor_msgs::LaserScan
tf::Transform & mrpt_bridge::convert | ( | const mrpt::poses::CPose3D & | _src, |
tf::Transform & | _des | ||
) |
bool mrpt_bridge::convert | ( | const CObservationBearingRange & | _obj, |
mrpt_msgs::ObservationRangeBearing & | _msg | ||
) |
Definition at line 62 of file landmark.cpp.
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
tf::Transform & mrpt_bridge::convert | ( | const mrpt::math::TPose3D & | _src, |
tf::Transform & | _des | ||
) |
tf::Transform & mrpt_bridge::convert | ( | const mrpt::poses::CPose2D & | _src, |
tf::Transform & | _des | ||
) |
tf::Transform & mrpt_bridge::convert | ( | const mrpt::math::TPose2D & | _src, |
tf::Transform & | _des | ||
) |
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
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::CObservationBearingRange & | _obj, |
mrpt_msgs::ObservationRangeBearing & | _msg | ||
) |
MRPT->ROS: Takes a CObservationBearingRange and outputs range data in mrpt_msgs::ObservationRangeBearing
void mrpt_bridge::convert | ( | const mrpt_msgs::NetworkOfPoses & | ros_graph, |
mrpt::graphs::CNetworkOfPoses2DInf & | mrpt_graph | ||
) |
Definition at line 197 of file network_of_poses.cpp.
geometry_msgs::Pose & mrpt_bridge::convert | ( | const mrpt::poses::CPose3D & | _src, |
geometry_msgs::Pose & | _des | ||
) |
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
void mrpt_bridge::convert | ( | const mrpt_msgs::NetworkOfPoses & | ros_graph, |
mrpt::graphs::CNetworkOfPoses3DInf & | mrpt_graph | ||
) |
Definition at line 246 of file network_of_poses.cpp.
geometry_msgs::Pose & mrpt_bridge::convert | ( | const mrpt::poses::CPose2D & | _src, |
geometry_msgs::Pose & | _des | ||
) |
bool mrpt_bridge::convert | ( | const CObservationBeaconRanges & | _obj, |
mrpt_msgs::ObservationRangeBeacon & | _msg, | ||
geometry_msgs::Pose & | _pose | ||
) |
Definition at line 79 of file beacon.cpp.
void mrpt_bridge::convert | ( | const mrpt_msgs::NetworkOfPoses & | ros_graph, |
mrpt::graphs::CNetworkOfPoses2DInf_NA & | mrpt_graph | ||
) |
Definition at line 256 of file network_of_poses.cpp.
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::PoseWithCovariance & mrpt_bridge::convert | ( | const mrpt::poses::CPose3DPDFGaussian & | _src, |
geometry_msgs::PoseWithCovariance & | _des | ||
) |
void mrpt_bridge::convert | ( | const mrpt_msgs::NetworkOfPoses & | ros_graph, |
mrpt::graphs::CNetworkOfPoses3DInf_NA & | mrpt_graph | ||
) |
bool mrpt_bridge::convert | ( | const CObservation2DRangeScan & | _obj, |
sensor_msgs::LaserScan & | _msg, | ||
geometry_msgs::Pose & | _pose | ||
) |
Definition at line 86 of file laser_scan.cpp.
geometry_msgs::PoseWithCovariance & mrpt_bridge::convert | ( | const mrpt::poses::CPose3DPDFGaussianInf & | _src, |
geometry_msgs::PoseWithCovariance & | _des | ||
) |
tf::Transform & mrpt_bridge::convert | ( | const mrpt::poses::CPose3DPDFGaussian & | _src, |
tf::Transform & | _des | ||
) |
bool mrpt_bridge::convert | ( | const CObservationBearingRange & | _obj, |
mrpt_msgs::ObservationRangeBearing & | _msg, | ||
geometry_msgs::Pose & | _pose | ||
) |
Definition at line 93 of file landmark.cpp.
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 | ||
) |
mrpt::poses::CPose3D & mrpt_bridge::convert | ( | const tf::Transform & | _src, |
mrpt::poses::CPose3D & | _des | ||
) |
mrpt::math::CMatrixDouble33 & mrpt_bridge::convert | ( | const tf::Matrix3x3 & | _src, |
mrpt::math::CMatrixDouble33 & | _des | ||
) |
bool mrpt_bridge::convert | ( | const nav_msgs::OccupancyGrid & | src, |
COccupancyGridMap2D & | des | ||
) |
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 | ||
) |
bool mrpt_bridge::convert | ( | const COccupancyGridMap2D & | src, |
nav_msgs::OccupancyGrid & | msg, | ||
const std_msgs::Header & | header | ||
) |
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 | ||
) |
bool mrpt_bridge::convert | ( | const COccupancyGridMap2D & | src, |
nav_msgs::OccupancyGrid & | msg | ||
) |
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 | ||
) |
void mrpt_bridge::convert | ( | mrpt_msgs::NetworkOfPoses & | ros_graph, |
const mrpt::graphs::CNetworkOfPoses3DInf_NA & | mrpt_graph | ||
) |
Definition at line 313 of file network_of_poses.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.
bool mrpt_bridge::copy | ( | const sensor_msgs::PointCloud2 & | msg, |
CSimplePointsMap & | obj | ||
) |
Convert sensor_msgs/PointCloud2 -> mrpt::slam::CSimplePointsMap
Definition at line 55 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 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 104 of file point_cloud2.cpp.
void mrpt_bridge::get_float_from_field | ( | const sensor_msgs::PointField * | field, |
const unsigned char * | data, | ||
float & | output | ||
) | [inline] |
Definition at line 35 of file point_cloud2.cpp.
void mrpt_bridge::mrptToROSLoggerCallback | ( | const std::string & | msg, |
const VerbosityLevel | level, | ||
const std::string & | loggerName, | ||
const mrpt::system::TTimeStamp | timestamp | ||
) | [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.
void mrpt_bridge::mrptToROSLoggerCallback_mrpt_15 | ( | const std::string & | msg, |
const VerbosityLevel | level, | ||
const std::string & | loggerName, | ||
const mrpt::system::TTimeStamp | timestamp, | ||
void * | userParam | ||
) | [inline] |
mrpt::math::TPose3D mrpt_bridge::p2t | ( | const mrpt::poses::CPose3D & | p | ) | [inline] |
VerbosityLevel mrpt_bridge::rosLoggerLvlToMRPTLoggerLvl | ( | log4cxx::LevelPtr | lvl | ) | [inline] |