pcl_conversions.h
Go to the documentation of this file.
1 /*
2  * This file is part of ArmarX.
3  *
4  * ArmarX is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * ArmarX is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * @author Fabian Reister ( fabian dot reister at kit dot edu )
17  * @date 2021
18  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19  * GNU General Public License
20  */
21 
22 #pragma once
23 
24 #include <pcl/point_cloud.h>
25 #include <pcl/point_types.h>
26 
27 #include <cartographer/sensor/rangefinder_point.h>
28 
30 {
31  ::pcl::PointCloud<::pcl::PointXYZ>
32  toPCL(const std::vector<::cartographer::sensor::RangefinderPoint>& points);
33 
34  ::pcl::PointCloud<::pcl::PointXYZ>
35  toPCL(const std::vector<::cartographer::sensor::TimedRangefinderPoint>& points);
36 
37  ::pcl::PointCloud<::pcl::PointXYZ> toPCL(const auto& pointCloud,
38  const ::cartographer::transform::Rigid3d& pose);
39 
40  ::pcl::PointCloud<::pcl::PointXYZ>
41  toPCL(const std::vector<::cartographer::sensor::TimedRangefinderPoint>& pointCloud,
42  const Eigen::Isometry3f& pose);
43 
44 } // namespace armarx::localization_and_mapping::cartographer_adapter
armarx::localization_and_mapping::cartographer_adapter::toPCL
::pcl::PointCloud<::pcl::PointXYZ > toPCL(const std::vector<::cartographer::sensor::TimedRangefinderPoint > &points)
Definition: pcl_conversions.cpp:35
armarx::localization_and_mapping::cartographer_adapter
This file is part of ArmarX.
Definition: ApproximateTimeQueue.cpp:15