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-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: imu.h
13  AUTHOR: Raghavender Sahdev <raghavendersahdev@gmail.com>
14  ---------------------------------------------------------------*/
15 #pragma once
16 
17 #include <cstring> // size_t
18 #include <sensor_msgs/Imu.h>
19 #include <mrpt/obs/CObservationIMU.h>
20 #include <geometry_msgs/Pose.h>
21 #include <geometry_msgs/Quaternion.h>
22 
23 using namespace mrpt::obs;
24 
28 
29 namespace mrpt_bridge
30 {
31 namespace imu
32 {
37 bool ros2mrpt(const sensor_msgs::Imu& msg, CObservationIMU obj);
38 
46 bool mrpt2ros(
47  const CObservationIMU& obj, const std_msgs::Header& msg_header,
48  sensor_msgs::Imu& msg);
49 
50 } // namespace imu
51 } // namespace mrpt_bridge
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...
GLhandleARB obj


mrpt_bridge
Author(s): Markus Bader , Raphael Zack
autogenerated on Fri Feb 28 2020 03:22:14