Apollo
6.0
Open source self driving car software
|
#include <i_ground.h>
Public Member Functions | |
PlaneFitGroundDetector (const PlaneFitGroundDetectorParam ¶m) | |
~PlaneFitGroundDetector () | |
bool | Init () |
bool | Detect (const float *point_cloud, float *height_above_ground, unsigned int nr_points, unsigned int nr_point_elements) |
const char * | GetLabel () const |
const VoxelGridXY< float > * | GetGrid () const |
const GroundPlaneLiDAR * | GetGroundPlane (int r, int c) const |
unsigned int | GetGridDimX () const |
unsigned int | GetGridDimY () const |
float | GetUnknownHeight () |
PlaneFitPointCandIndices ** | GetCandis () const |
![]() | |
BaseGroundDetector (const PlaneFitGroundDetectorParam ¶m) | |
virtual | ~BaseGroundDetector () |
Protected Member Functions | |
void | CleanUp () |
void | InitOrderTable (const VoxelGridXY< float > *vg, std::pair< int, int > *order) |
int | Fit () |
int | FitLine (unsigned int r) |
int | FitGrid (const float *point_cloud, PlaneFitPointCandIndices *candi, GroundPlaneLiDAR *groundplane, unsigned int nr_points, unsigned int nr_point_element, float dist_thre) |
int | FitInOrder () |
int | FilterCandidates (int r, int c, const float *point_cloud, PlaneFitPointCandIndices *candi, std::vector< std::pair< int, int >> *neighbors, unsigned int nr_point_element) |
int | FitGridWithNeighbors (int r, int c, const float *point_cloud, GroundPlaneLiDAR *groundplane, unsigned int nr_points, unsigned int nr_point_element, float dist_thre) |
void | GetNeighbors (int r, int c, int rows, int cols, std::vector< std::pair< int, int >> *neighbors) |
float | CalculateAngleDist (const GroundPlaneLiDAR &plane, const std::vector< std::pair< int, int >> &neighbors) |
int | Filter () |
int | FilterLine (unsigned int r) |
int | FilterGrid (const Voxel< float > &vg, const float *point_cloud, PlaneFitPointCandIndices *candi, unsigned int nr_points, unsigned int nr_point_element) |
int | Smooth () |
int | SmoothLine (unsigned int up, unsigned int r, unsigned int dn) |
int | CompleteGrid (const GroundPlaneSpherical <, const GroundPlaneSpherical &rt, const GroundPlaneSpherical &up, const GroundPlaneSpherical &dn, GroundPlaneSpherical *gp) |
int | SmoothGrid (const GroundPlaneSpherical &g, const GroundPlaneSpherical <, const GroundPlaneSpherical &rt, const GroundPlaneSpherical &up, const GroundPlaneSpherical &dn, GroundPlaneSpherical *gp) |
int | CompareZ (const float *point_cloud, const std::vector< int > &point_indices, const float *z_values, PlaneFitPointCandIndices *candi, unsigned int nr_points, unsigned int nr_point_element, unsigned int nr_compares) |
void | ComputeAdaptiveThreshold () |
void | ComputeSignedGroundHeight (const float *point_cloud, float *height_above_ground, unsigned int nr_points, unsigned int nr_point_elements) |
void | ComputeSignedGroundHeightLine (const float *point_cloud, const GroundPlaneLiDAR *up, const GroundPlaneLiDAR *cn, const GroundPlaneLiDAR *dn, float *height_above_ground, unsigned int r, unsigned int nr_points, unsigned int nr_point_elements) |
Protected Attributes | |
VoxelGridXY< float > * | vg_fine_ |
VoxelGridXY< float > * | vg_coarse_ |
GroundPlaneLiDAR ** | ground_planes_ |
GroundPlaneSpherical ** | ground_planes_sphe_ |
PlaneFitPointCandIndices ** | local_candis_ |
std::pair< float, bool > ** | ground_z_ |
float ** | pf_thresholds_ |
unsigned int * | map_fine_to_coarse_ |
char * | labels_ |
float * | sampled_z_values_ |
float * | pf_threeds_ |
int * | sampled_indices_ |
std::pair< int, int > * | order_table_ |
![]() | |
const PlaneFitGroundDetectorParam & | param_ |
|
explicit |
apollo::perception::common::PlaneFitGroundDetector::~PlaneFitGroundDetector | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
Implements apollo::perception::common::BaseGroundDetector.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
PlaneFitPointCandIndices** apollo::perception::common::PlaneFitGroundDetector::GetCandis | ( | ) | const |
const VoxelGridXY<float>* apollo::perception::common::PlaneFitGroundDetector::GetGrid | ( | ) | const |
unsigned int apollo::perception::common::PlaneFitGroundDetector::GetGridDimX | ( | ) | const |
unsigned int apollo::perception::common::PlaneFitGroundDetector::GetGridDimY | ( | ) | const |
const GroundPlaneLiDAR* apollo::perception::common::PlaneFitGroundDetector::GetGroundPlane | ( | int | r, |
int | c | ||
) | const |
const char* apollo::perception::common::PlaneFitGroundDetector::GetLabel | ( | ) | const |
|
protected |
float apollo::perception::common::PlaneFitGroundDetector::GetUnknownHeight | ( | ) |
bool apollo::perception::common::PlaneFitGroundDetector::Init | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |