SCManager(double LIDAR_HEIGHT,int PC_NUM_RING,int PC_NUM_SECTOR,double PC_MAX_RADIUS): LIDAR_HEIGHT(LIDAR_HEIGHT), PC_NUM_RING(PC_NUM_RING),PC_NUM_SECTOR(PC_NUM_SECTOR),PC_MAX_RADIUS(PC_MAX_RADIUS){ PC_UNIT_SECTORANGLE = 360.0 / double(PC_NUM_SECTOR); PC_UNIT_RINGGAP = PC_MAX_RADIUS / double(PC_NUM_RING); } // reserving data space (of std::vector) could be considered. but the descriptor is lightwe
| 71 | // PC_UNIT_RINGGAP = PC_MAX_RADIUS / double(PC_NUM_RING); |
| 72 | // } // reserving data space (of std::vector) could be considered. but the descriptor is lightweight so don't care. |
| 73 | void setKeyParams(double LIDAR_HEIGHT1,int PC_NUM_RING1,int PC_NUM_SECTOR1,double PC_MAX_RADIUS1,double SC_DIST_THRES1){ |
| 74 | LIDAR_HEIGHT = LIDAR_HEIGHT1; |
| 75 | PC_NUM_RING = PC_NUM_RING1; |
| 76 | PC_NUM_SECTOR = PC_NUM_SECTOR1; |
| 77 | PC_MAX_RADIUS = PC_MAX_RADIUS1; |
| 78 | PC_UNIT_SECTORANGLE = 360.0 / double(PC_NUM_SECTOR); |
| 79 | PC_UNIT_RINGGAP = PC_MAX_RADIUS / double(PC_NUM_RING); |
| 80 | SC_DIST_THRES = SC_DIST_THRES1; |
| 81 | } |
| 82 | Eigen::MatrixXd makeScancontext( pcl::PointCloud<PointType> & _scan_down ); |
| 83 | Eigen::MatrixXd makeRingkeyFromScancontext( Eigen::MatrixXd &_desc ); |
| 84 | Eigen::MatrixXd makeSectorkeyFromScancontext( Eigen::MatrixXd &_desc ); |
nothing calls this directly
no outgoing calls
no test coverage detected