imu.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: imu.h
13  AUTHOR: Raghavender Sahdev <raghavendersahdev@gmail.com>
14  ---------------------------------------------------------------*/
15 #ifndef MRPT_BRIDGE_IMU_H
16 #define MRPT_BRIDGE_IMU_H
17 
18 #include <cstring> // size_t
19 #include <sensor_msgs/Imu.h>
20 #include <mrpt/obs/CObservationIMU.h>
21 #include <geometry_msgs/Pose.h>
22 #include <geometry_msgs/Quaternion.h>
23 
24 
25 using namespace mrpt::obs;
26 
27 
30 
31 namespace mrpt_bridge
32 {
33  namespace imu
34  {
35 
40  bool ros2mrpt(const sensor_msgs::Imu &msg, CObservationIMU obj);
41 
48  bool mrpt2ros(const CObservationIMU &obj, const std_msgs::Header &msg_header, sensor_msgs::Imu &msg);
49 
50  }
51 }
52 
53 
54 
55 #endif //MRPT_BRIDGE_IMU_H
56 
57 
58 
bool mrpt2ros(const CObservationIMU &obj, const std_msgs::Header &msg_header, sensor_msgs::Imu &msg)
Definition: imu.cpp:47
bool ros2mrpt(const sensor_msgs::Imu &msg, CObservationIMU obj)
Definition: imu.cpp:25
File includes methods for converting CNetworkOfPoses*DInf <=> NetworkOfPoses message types...


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