11 #include <pcl/common/common.h> 21 class GridMapPclLoader;
23 namespace grid_map_pcl_test {
34 Pointcloud::Ptr
concatenate(Pointcloud::Ptr cloud1, Pointcloud::Ptr cloud2);
41 std::mt19937* generator);
42 Pointcloud::Ptr
createPerfectPlane(
unsigned int nPoints,
double minXY,
double maxXY,
double desiredHeight, std::mt19937* generator);
46 const std::string& filename);
48 Pointcloud::Ptr
createStepTerrain(
unsigned int nPoints,
double minXY,
double maxXY,
double zHigh,
double zLow,
double stdDevZ,
49 std::mt19937* generator,
double* center);
std::vector< Eigen::Vector3d > getNonNanElevationValuesWithCoordinates(const grid_map::GridMap &gridMap)
std::string getConfigFilePath()
Pointcloud::Ptr createNoisyPlanePointcloud(unsigned int nPoints, double minXY, double maxXY, double meanZ, double stdDevZ, std::mt19937 *generator)
void runGridMapPclLoaderOnInputCloud(Pointcloud::ConstPtr inputCloud, grid_map::GridMapPclLoader *gridMapPclLoader)
void runGridMapPclLoaderOnInputCloudAndSavePointCloud(Pointcloud::ConstPtr inputCloud, grid_map::GridMapPclLoader *gridMapPclLoader, const std::string &filename)
std::vector< double > getNonNanElevationValues(const grid_map::GridMap &gridMap)
void setVerbosityLevel(ros::console::levels::Level level)
std::mt19937 rndGenerator
static const bool savePointclouds
static const std::string layerName
std::string getTestDataFolderPath()
Pointcloud::Ptr createStepTerrain(unsigned int nPoints, double minXY, double maxXY, double zHigh, double zLow, double stdDevZ, std::mt19937 *generator, double *center)
Pointcloud::Ptr concatenate(Pointcloud::Ptr cloud1, Pointcloud::Ptr cloud2)
Pointcloud::Ptr createNormallyDistributedBlobOfPoints(unsigned int nPoints, double mean, double stdDev, std::mt19937 *generator)
Pointcloud::Ptr createPerfectPlane(unsigned int nPoints, double minXY, double maxXY, double desiredHeight, std::mt19937 *generator)
std::string getTestPcdFilePath()
pcl::PointCloud< Point > Pointcloud