#include <ground_service.h>
◆ GroundServiceContent()
| apollo::perception::lidar::GroundServiceContent::GroundServiceContent |
( |
| ) |
|
|
default |
◆ ~GroundServiceContent()
| apollo::perception::lidar::GroundServiceContent::~GroundServiceContent |
( |
| ) |
|
|
default |
◆ GetCopy()
| void apollo::perception::lidar::GroundServiceContent::GetCopy |
( |
SceneServiceContent * |
content | ) |
const |
|
overridevirtual |
◆ Init()
| bool apollo::perception::lidar::GroundServiceContent::Init |
( |
double |
roi_x, |
|
|
double |
roi_y, |
|
|
uint32_t |
rows, |
|
|
uint32_t |
cols |
|
) |
| |
在文件 ground_service.cc 第 116 行定义.
117 {
122
125
128
130 return true;
131}
void Init(int32_t rows, int32_t cols)
◆ Name()
| std::string apollo::perception::lidar::GroundServiceContent::Name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PointToGrid()
| bool apollo::perception::lidar::GroundServiceContent::PointToGrid |
( |
const Eigen::Vector3d & |
world_point, |
|
|
uint32_t * |
grid_index |
|
) |
| const |
在文件 ground_service.cc 第 73 行定义.
74 {
79 (*grid_index) = 0;
80 return false;
81 }
82 uint32_t c = std::min(
84 uint32_t r = std::min(
87 return true;
88}
uint32_t GetIndex(uint32_t r, uint32_t c, uint32_t cols)
◆ PointToPlaneDistance()
| float apollo::perception::lidar::GroundServiceContent::PointToPlaneDistance |
( |
const Eigen::Vector3d & |
world_point | ) |
const |
在文件 ground_service.cc 第 90 行定义.
91 {
92 uint32_t grid_index = 0;
94 return std::numeric_limits<float>::max();
95 }
96
97 float offset_pt[3];
98 float params[4];
99 float out = std::numeric_limits<float>::max();
100
101 offset_pt[0] =
static_cast<float>(world_point(0) -
grid_center_(0));
102 offset_pt[1] =
static_cast<float>(world_point(1) -
grid_center_(1));
103 offset_pt[2] =
static_cast<float>(world_point(2) -
grid_center_(2));
104
106 if (node->confidence > 0.f) {
107 params[0] = node->
params(0);
108 params[1] = node->params(1);
109 params[2] = node->params(2);
110 params[3] = node->params(3);
112 }
113 return out;
114}
bool PointToGrid(const Eigen::Vector3d &world_point, uint32_t *grid_index) const
T IPlaneToPointSignedDistanceWUnitNorm(const T *pi, const T *p)
◆ SetContent()
| void apollo::perception::lidar::GroundServiceContent::SetContent |
( |
const SceneServiceContent & |
content | ) |
|
|
overridevirtual |
◆ bound_x_max_
| double apollo::perception::lidar::GroundServiceContent::bound_x_max_ = 0.0 |
◆ bound_x_min_
| double apollo::perception::lidar::GroundServiceContent::bound_x_min_ = 0.0 |
◆ bound_y_max_
| double apollo::perception::lidar::GroundServiceContent::bound_y_max_ = 0.0 |
◆ bound_y_min_
| double apollo::perception::lidar::GroundServiceContent::bound_y_min_ = 0.0 |
◆ cols_
| uint32_t apollo::perception::lidar::GroundServiceContent::cols_ = 0 |
◆ grid_
| GroundGrid apollo::perception::lidar::GroundServiceContent::grid_ |
◆ grid_center_
| Eigen::Vector3d apollo::perception::lidar::GroundServiceContent::grid_center_ |
◆ resolution_x_
| double apollo::perception::lidar::GroundServiceContent::resolution_x_ = 0.0 |
◆ resolution_y_
| double apollo::perception::lidar::GroundServiceContent::resolution_y_ = 0.0 |
◆ rows_
| uint32_t apollo::perception::lidar::GroundServiceContent::rows_ = 0 |
该类的文档由以下文件生成: