◆ HybridASoftBoundaryContainer()
| apollo::planning::HybridASoftBoundaryContainer::HybridASoftBoundaryContainer |
( |
| ) |
|
|
default |
◆ AddVirtualSoftBoundary()
| void apollo::planning::HybridASoftBoundaryContainer::AddVirtualSoftBoundary |
( |
double * |
obstacle_x, |
|
|
double * |
obstacle_y, |
|
|
int |
vertice_num |
|
) |
| |
|
inline |
在文件 hybrid_a_star_wrapper.cc 第 49 行定义.
49 {
50 std::vector<common::math::Vec2d> soft_boundary_vertices;
51 for (int i = 0; i < vertice_num; i++) {
52 common::math::Vec2d vertice(obstacle_x[i], obstacle_y[i]);
53 soft_boundary_vertices.emplace_back(vertice);
54 }
55 soft_boundary_list.emplace_back(soft_boundary_vertices);
56
57 for (int i = 0; i < soft_boundary_list.size(); ++i) {
58 for (const auto& vertice : soft_boundary_list[i]) {
59 AERROR <<
"Soft boundary: " << i <<
", " << vertice.x() <<
", " << vertice.y();
60 }
61 }
62 }
◆ GetSoftBoundaryVerticesVec()
| const std::vector< std::vector< common::math::Vec2d > > & apollo::planning::HybridASoftBoundaryContainer::GetSoftBoundaryVerticesVec |
( |
| ) |
|
|
inline |
该类的文档由以下文件生成: