image.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 
10 /*---------------------------------------------------------------
11  APPLICATION: mrpt_ros bridge
12  FILE: image.h
13  AUTHOR: Raghavender Sahdev <raghavendersahdev@gmail.com>
14  ---------------------------------------------------------------*/
15 
16 #ifndef MRPT_BRIDGE_IMAGE_H
17 #define MRPT_BRIDGE_IMAGE_H
18 
19 #include <cstring> // size_t
20 #include <sensor_msgs/Image.h>
21 #include <mrpt/obs/CObservationImage.h>
22 
23 using namespace mrpt::obs;
24 
25 
26 namespace mrpt_bridge
27 {
28  namespace image
29  {
30  bool ros2mrpt(const sensor_msgs::Image &msg, CObservationImage &obj);
31  bool mrpt2ros(const CObservationImage &obj,const std_msgs::Header &msg_header, sensor_msgs::Image &msg);
32  }
33 }
34 
35 
36 #endif //MRPT_BRIDGE_IMAGE_H
File includes methods for converting CNetworkOfPoses*DInf <=> NetworkOfPoses message types...
bool ros2mrpt(const sensor_msgs::Image &msg, CObservationImage &obj)
Definition: image.cpp:41
bool mrpt2ros(const CObservationImage &obj, const std_msgs::Header &msg_header, sensor_msgs::Image &msg)
Definition: image.cpp:54


mrpt_bridge
Author(s): Markus Bader , Raphael Zack
autogenerated on Sat Apr 28 2018 02:49:17