|
Apollo 11.0
自动驾驶开放平台
|
#include <background_map.h>
Public 成员函数 | |
| BackgroundMap ()=default | |
| ~BackgroundMap ()=default | |
| bool | Init (int width, int height, float resolution, float height_threshold) |
| Init background map | |
| bool | Init (float xmin, float xmax, float ymin, float ymax, float resolution, float height_threshold) |
| bool | Reset (size_t point_number) |
| Reset all data | |
| bool | UpdateMap (LidarFrame *frame) |
| Update map, update mask and node | |
| bool | UpdateMask (LidarFrame *frame) |
| Update point mask and point index | |
| bool | UpdateNodes (LidarFrame *frame) |
| Update node feature based on points | |
| void | GetNodeCoord (float x, float y, int *grid_x, int *grid_y) |
| Get Node Coordinate based on point | |
| int | id () |
| Get valid node number | |
Public 属性 | |
| std::vector< BgNode > | bg_nodes_ |
| std::vector< size_t > | point_idx_ |
| std::vector< size_t > | point_importance_ |
| std::vector< bool > | point_mask_ |
在文件 background_map.h 第 45 行定义.
|
default |
|
default |
| void apollo::perception::lidar::BackgroundMap::GetNodeCoord | ( | float | x, |
| float | y, | ||
| int * | grid_x, | ||
| int * | grid_y | ||
| ) |
Get Node Coordinate based on point
| x | the value of x coordinate |
| y | the value of y coordinate |
| grid_x | x coordinate of grid |
| grid_y | y coordinate of grid |
在文件 background_map.cc 第 162 行定义.
|
inline |
Get valid node number
在文件 background_map.h 第 108 行定义.
| bool apollo::perception::lidar::BackgroundMap::Init | ( | float | xmin, |
| float | xmax, | ||
| float | ymin, | ||
| float | ymax, | ||
| float | resolution, | ||
| float | height_threshold | ||
| ) |
在文件 background_map.cc 第 32 行定义.
| bool apollo::perception::lidar::BackgroundMap::Init | ( | int | width, |
| int | height, | ||
| float | resolution, | ||
| float | height_threshold | ||
| ) |
Init background map
| width | map width |
| height | map height |
| resolution | grid resolution |
| height_threshold | point height threshold |
在文件 background_map.cc 第 24 行定义.
| bool apollo::perception::lidar::BackgroundMap::Reset | ( | size_t | point_number | ) |
Reset all data
| point_number | point number |
在文件 background_map.cc 第 46 行定义.
| bool apollo::perception::lidar::BackgroundMap::UpdateMap | ( | LidarFrame * | frame | ) |
Update map, update mask and node
| frame | lidar frame |
在文件 background_map.cc 第 63 行定义.
| bool apollo::perception::lidar::BackgroundMap::UpdateMask | ( | LidarFrame * | frame | ) |
Update point mask and point index
| frame | lidar frame |
在文件 background_map.cc 第 71 行定义.
| bool apollo::perception::lidar::BackgroundMap::UpdateNodes | ( | LidarFrame * | frame | ) |
Update node feature based on points
| frame | lidar frame |
在文件 background_map.cc 第 114 行定义.
| std::vector<BgNode> apollo::perception::lidar::BackgroundMap::bg_nodes_ |
在文件 background_map.h 第 114 行定义.
| std::vector<size_t> apollo::perception::lidar::BackgroundMap::point_idx_ |
在文件 background_map.h 第 116 行定义.
| std::vector<size_t> apollo::perception::lidar::BackgroundMap::point_importance_ |
在文件 background_map.h 第 118 行定义.
| std::vector<bool> apollo::perception::lidar::BackgroundMap::point_mask_ |
在文件 background_map.h 第 120 行定义.