| 96 | } |
| 97 | |
| 98 | Pointcloud::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 | |
| 109 | Pointcloud::Ptr PointcloudCreator::createNBlobsAboveEachOther(double* minZ, double* stdDevZ, int* nBlobs) { |
| 110 | const unsigned int nPointsInCloud = 1000; |
nothing calls this directly
no test coverage detected