◆ 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 第 51 行定义.
52 {
53 std::vector<common::math::Vec2d> soft_boundary_vertices;
54 for (int i = 0; i < vertice_num; i++) {
55 common::math::Vec2d vertice(obstacle_x[i], obstacle_y[i]);
56 soft_boundary_vertices.emplace_back(vertice);
57 }
58 soft_boundary_list.emplace_back(soft_boundary_vertices);
59
60 for (int i = 0; i < soft_boundary_list.size(); ++i) {
61 for (const auto& vertice : soft_boundary_list[i]) {
62 AERROR <<
"Soft boundary: " << i <<
", "
63 << vertice.x() << ", " << vertice.y();
64 }
65 }
66 }
◆ GetSoftBoundaryVerticesVec()
| const std::vector< std::vector< common::math::Vec2d > > & apollo::planning::HybridASoftBoundaryContainer::GetSoftBoundaryVerticesVec |
( |
| ) |
|
|
inline |
该类的文档由以下文件生成: