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-2018, 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 #pragma once
17 
18 #include <cstring> // size_t
19 #include <sensor_msgs/Image.h>
20 #include <mrpt/obs/CObservationImage.h>
21 
22 namespace mrpt_bridge
23 {
24 namespace image
25 {
26 bool ros2mrpt(const sensor_msgs::Image& msg, mrpt::obs::CObservationImage& obj);
27 bool mrpt2ros(
28  const mrpt::obs::CObservationImage& obj, const std_msgs::Header& msg_header,
29  sensor_msgs::Image& msg);
30 
31 } // namespace image
32 } // namespace mrpt_bridge
bool ros2mrpt(const sensor_msgs::Image &msg, mrpt::obs::CObservationImage &obj)
Definition: image.cpp:31
bool mrpt2ros(const mrpt::obs::CObservationImage &obj, const std_msgs::Header &msg_header, sensor_msgs::Image &msg)
Definition: image.cpp:39
File includes methods for converting CNetworkOfPoses*DInf <=> NetworkOfPoses message types...


mrpt_bridge
Author(s): Markus Bader , Raphael Zack
autogenerated on Thu May 12 2022 02:26:47