MCPcopy Create free account
hub / github.com/ANYbotics/grid_map / createPerfectPlane

Method createPerfectPlane

grid_map_pcl/test/PointcloudCreator.cpp:98–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98Pointcloud::Ptr PointcloudCreator::createPerfectPlane(double* height) {
99 std::uniform_real_distribution<double> heightDist(-10.0, 10.0);
100 const double maxXY = 3.0;
101 const double minXY = -3.0;
102 const unsigned int nPointsInCloud = 100000;
103 *height = heightDist(rndGenerator);
104 auto cloud = grid_map_pcl_test::createPerfectPlane(nPointsInCloud, minXY, maxXY, *height, &rndGenerator);
105
106 return cloud;
107}
108
109Pointcloud::Ptr PointcloudCreator::createNBlobsAboveEachOther(double* minZ, double* stdDevZ, int* nBlobs) {
110 const unsigned int nPointsInCloud = 1000;

Callers

nothing calls this directly

Calls 1

createPerfectPlaneFunction · 0.85

Tested by

no test coverage detected