Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef MRPT_BRIDGE_IMAGE_H
00017 #define MRPT_BRIDGE_IMAGE_H
00018
00019 #include <cstring>
00020 #include <sensor_msgs/Image.h>
00021 #include <mrpt/obs/CObservationImage.h>
00022
00023 using namespace mrpt::obs;
00024
00025
00026 namespace mrpt_bridge
00027 {
00028 namespace image
00029 {
00030 bool ros2mrpt(const sensor_msgs::Image &msg, CObservationImage &obj);
00031 bool mrpt2ros(const CObservationImage &obj,const std_msgs::Header &msg_header, sensor_msgs::Image &msg);
00032 }
00033 }
00034
00035
00036 #endif //MRPT_BRIDGE_IMAGE_H