PointcloudCreator.hpp
Go to the documentation of this file.
1 /*
2  * PointcloudCreator.hpp
3  *
4  * Created on: Nov 20, 2019
5  * Author: Edo Jelavic
6  * Institute: ETH Zurich, Robotic Systems Lab
7  */
8 
9 #pragma once
10 
11 #include "test_helpers.hpp"
12 
13 namespace grid_map {
14 namespace grid_map_pcl_test {
15 
16 /*
17  * Creates point clouds with some noise in the z direction (which is
18  * the direction perpendicular to the surface normal). This is an approximation
19  * of a point cloud that would be obtained with a real sensor.
20  */
22  public:
34  static Pointcloud::Ptr createNoisyPointcloudOfStepTerrain(double* stepLocation, double* zHigh, double* zLow, double* stdDev);
35 
44  static Pointcloud::Ptr createBlobOfPoints(double* mean, double* stdDev);
45 
56  static Pointcloud::Ptr createVerticesOfASquare(double* x, double* y);
57 
68  static Pointcloud::Ptr createNoisyPlane(double* height, double* stdDevZ);
69 
80  static Pointcloud::Ptr createNoisyDoublePlane(double* minZ, double* stdDevZ);
81 
90  static Pointcloud::Ptr createPerfectPlane(double* height);
91 
103  static Pointcloud::Ptr createNBlobsAboveEachOther(double* minZ, double* stdDevZ, int* nBlobs);
104 };
105 
106 } /* namespace grid_map_pcl_test*/
107 } /* namespace grid_map*/
static Pointcloud::Ptr createNoisyPlane(double *height, double *stdDevZ)
static Pointcloud::Ptr createNBlobsAboveEachOther(double *minZ, double *stdDevZ, int *nBlobs)
TFSIMD_FORCE_INLINE const tfScalar & y() const
static Pointcloud::Ptr createNoisyPointcloudOfStepTerrain(double *stepLocation, double *zHigh, double *zLow, double *stdDev)
static Pointcloud::Ptr createNoisyDoublePlane(double *minZ, double *stdDevZ)
TFSIMD_FORCE_INLINE const tfScalar & x() const
static Pointcloud::Ptr createPerfectPlane(double *height)
static Pointcloud::Ptr createVerticesOfASquare(double *x, double *y)
static Pointcloud::Ptr createBlobOfPoints(double *mean, double *stdDev)


grid_map_pcl
Author(s): Dominic Jud , Edo Jelavic
autogenerated on Tue Jun 1 2021 02:13:43