range.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: range.h
13  AUTHOR: Raghavender Sahdev <raghavendersahdev@gmail.com>
14  ---------------------------------------------------------------*/
15 
16 #ifndef MRPT_BRIDGE_RANGE_H
17 #define MRPT_BRIDGE_RANGE_H
18 
19 #include <sensor_msgs/Range.h>
20 #include <mrpt/obs/CObservationRange.h>
21 
22 using namespace mrpt::obs;
23 
24 
27 
28 namespace mrpt_bridge
29 {
30  namespace range
31  {
36  bool ros2mrpt(const sensor_msgs::Range &msg,
37  CObservationRange &obj);
38 
45  bool mrpt2ros(const CObservationRange &obj,
46  const std_msgs::Header &msg_header,
47  sensor_msgs::Range *msg);
48  }
49 }
50 
51 #endif //MRPT_BRIDGE_RANGE_H
bool ros2mrpt(const sensor_msgs::Range &msg, CObservationRange &obj)
Definition: range.cpp:27
File includes methods for converting CNetworkOfPoses*DInf <=> NetworkOfPoses message types...
bool mrpt2ros(const CObservationRange &obj, const std_msgs::Header &msg_header, sensor_msgs::Range *msg)
Definition: range.cpp:41


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