Classes | |
| struct | CscAvailableDirection |
| struct | VoxelAccum |
Functions | |
| double | estimateFreeDistanceForLidarScan (double directionYawRads, const mrpt::obs::CObservation2DRangeScan &scan, double entityWidthMeters, double entityLengthMeters, double minClusterDistanceMeters, int minClusterSize, double maxDepthMeters) |
| optional< pair< int, double > > | getBestDirectionForScan (CObservation2DRangeScan *scan, const vector< CscAvailableDirection > &authorizedDirections, double entityWidth, double entityLength, map< int, double > *computedDirections) |
| void | saveScanWithBestDirectionAsPng (const mrpt::obs::CObservation2DRangeScan &scan, double bestYaw, const std::string &bestDirName, const fs::path &filename, double entityWidth, double entityLength) |
| double | cmToMeters (double v) |
| int | voxelIndex (double v, double voxelSizeMeters) |
| double | estimateFreeDistanceFrontMetersForLidarScan3d (const LidarValuesSnapshot &scan, const CscSize3d &entitySizeCm, double voxelSizeMeters, int minVoxelPointCount, double maxDepthMeters, double minObstacleYMeters, double maxObstacleYMeters) |
Variables | |
| struct CSC_DLL_IMPORTEXPORT | CscAvailableDirection |
| static const CscAvailableDirection | AVAILABLE_DIRECTION_FORWARD = {0.0, "forward"} |
| static const CscAvailableDirection | AVAILABLE_DIRECTION_LEFT = {M_PI_2, "left"} |
| static const CscAvailableDirection | AVAILABLE_DIRECTION_RIGHT = {-M_PI_2, "right"} |
| static const CscAvailableDirection | AVAILABLE_DIRECTION_BACK = {M_PI, "back"} |
| static const vector< CscAvailableDirection > | AVAILABLE_ALL_DIRECTIONS |
| double conscience_core::lidar::directions::cmToMeters | ( | double | v | ) |
| double conscience_core::lidar::directions::estimateFreeDistanceForLidarScan | ( | double | directionYawRads, |
| const mrpt::obs::CObservation2DRangeScan & | scan, | ||
| double | entityWidthMeters, | ||
| double | entityLengthMeters, | ||
| double | minClusterDistanceMeters, | ||
| int | minClusterSize, | ||
| double | maxDepthMeters | ||
| ) |
| double conscience_core::lidar::directions::estimateFreeDistanceFrontMetersForLidarScan3d | ( | const LidarValuesSnapshot & | scan, |
| const CscSize3d & | entitySizeCm, | ||
| double | voxelSizeMeters, | ||
| int | minVoxelPointCount, | ||
| double | maxDepthMeters, | ||
| double | minObstacleYMeters, | ||
| double | maxObstacleYMeters = std::numeric_limits< double >::infinity() |
||
| ) |
Returns free distance in front of the robot.
Coordinates:
Corridor:
Ground handling:
Voxel rule:
Result:
| optional< pair< int, double > > conscience_core::lidar::directions::getBestDirectionForScan | ( | CObservation2DRangeScan * | scan, |
| const vector< CscAvailableDirection > & | authorizedDirections, | ||
| double | entityWidth, | ||
| double | entityLength, | ||
| map< int, double > * | computedDirections | ||
| ) |
| void conscience_core::lidar::directions::saveScanWithBestDirectionAsPng | ( | const mrpt::obs::CObservation2DRangeScan & | scan, |
| double | bestYaw, | ||
| const std::string & | bestDirName, | ||
| const fs::path & | filename, | ||
| double | entityWidth, | ||
| double | entityLength | ||
| ) |
| int conscience_core::lidar::directions::voxelIndex | ( | double | v, |
| double | voxelSizeMeters | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |