stereo_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: stereo_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/CObservationStereoImages.h>
21 #include <stereo_msgs/DisparityImage.h>
22 
23 using namespace mrpt::obs;
24 
25 namespace mrpt_bridge
26 {
27 namespace stereo_image
28 {
29 bool mrpt2ros(
30  const CObservationStereoImages& obj, const std_msgs::Header& msg_header,
31  sensor_msgs::Image& left, sensor_msgs::Image& right,
32  stereo_msgs::DisparityImage& disparity);
33 }
34 } // namespace mrpt_bridge
mrpt_bridge::stereo_image::mrpt2ros
bool mrpt2ros(const CObservationStereoImages &obj, const std_msgs::Header &msg_header, sensor_msgs::Image &left, sensor_msgs::Image &right, stereo_msgs::DisparityImage &disparity)
Definition: stereo_image.cpp:51
mrpt::obs
Definition: include/mrpt_bridge/beacon.h:46
std_msgs::Header_
Definition: map.h:24
mrpt_bridge
File includes methods for converting CNetworkOfPoses*DInf <=> NetworkOfPoses message types.
Definition: include/mrpt_bridge/beacon.h:52


mrpt_bridge
Author(s): Markus Bader , Raphael Zack
autogenerated on Sun Mar 6 2022 03:48:10