MRPT
2.0.4
mrpt
ros1bridge
stereo_image.h
Go to the documentation of this file.
1
/* +------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| https://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2020, Individual contributors, see AUTHORS file |
6
| See: https://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See: https://www.mrpt.org/License |
8
+------------------------------------------------------------------------+ */
9
10
/*---------------------------------------------------------------
11
APPLICATION: mrpt_ros bridge
12
FILE: stereo_image.h
13
AUTHOR: Raghavender Sahdev <raghavendersahdev@gmail.com>
14
---------------------------------------------------------------*/
15
16
#pragma once
17
18
#include <
mrpt/obs/CObservationStereoImages.h
>
19
#include <sensor_msgs/Image.h>
20
#include <stereo_msgs/DisparityImage.h>
21
22
namespace
mrpt::ros1bridge
23
{
24
/** \addtogroup mrpt_ros1bridge_grp
25
* @{ */
26
27
bool
toROS
(
28
const
mrpt::obs::CObservationStereoImages
& obj,
29
const
std_msgs::Header& msg_header, sensor_msgs::Image& left,
30
sensor_msgs::Image& right, stereo_msgs::DisparityImage& disparity);
31
32
/** @} */
33
34
}
// namespace mrpt::ros1bridge
CObservationStereoImages.h
mrpt::ros1bridge
ROS message: http://docs.ros.org/api/sensor_msgs/html/msg/NavSatFix.html MRPT message: https://github...
Definition:
gps.h:29
mrpt::ros1bridge::toROS
bool toROS(const mrpt::obs::CObservationGPS &obj, const std_msgs::Header &msg_header, sensor_msgs::NavSatFix &msg)
Convert mrpt::obs::CObservationGPS -> sensor_msgs/NavSatFix The user must supply the "msg_header" fie...
Definition:
gps.cpp:48
mrpt::obs::CObservationStereoImages
Observation class for either a pair of left+right or left+disparity images from a stereo camera.
Definition:
CObservationStereoImages.h:39
Page generated by
Doxygen 1.8.18
for MRPT 2.0.4 at Thu Sep 24 07:14:18 UTC 2020