|
Apollo 11.0
自动驾驶开放平台
|
#include <st_obstacles_processor.h>
Public 成员函数 | |
| STObstaclesProcessor () | |
| void | Init (const double planning_distance, const double planning_time, const PathData &path_data, PathDecision *const path_decision, History *const history) |
| virtual | ~STObstaclesProcessor ()=default |
| common::Status | MapObstaclesToSTBoundaries (PathDecision *const path_decision) |
| std::unordered_map< std::string, STBoundary > | GetAllSTBoundaries () |
| bool | GetSBoundsFromDecisions (double t, std::vector< std::pair< double, double > > *const available_s_bounds, std::vector< std::vector< std::pair< std::string, ObjectDecisionType > > > *const available_obs_decisions) |
| Given a time t, get the lower and upper s-boundaries. | |
| bool | GetLimitingSpeedInfo (double t, std::pair< double, double > *const limiting_speed_info) |
| Provided that decisions for all existing obstacles are made, get the speed limiting info from limiting st-obstacles. | |
| void | SetObstacleDecision (const std::string &obs_id, const ObjectDecisionType &obs_decision) |
| Set the decision for a given obstacle. | |
| void | SetObstacleDecision (const std::vector< std::pair< std::string, ObjectDecisionType > > &obstacle_decisions) |
| Set the decision for a list of obstacles. | |
在文件 st_obstacles_processor.h 第 48 行定义.
|
inline |
在文件 st_obstacles_processor.h 第 50 行定义.
|
virtualdefault |
| std::unordered_map< std::string, STBoundary > apollo::planning::STObstaclesProcessor::GetAllSTBoundaries | ( | ) |
在文件 st_obstacles_processor.cc 第 273 行定义.
| bool apollo::planning::STObstaclesProcessor::GetLimitingSpeedInfo | ( | double | t, |
| std::pair< double, double > *const | limiting_speed_info | ||
| ) |
Provided that decisions for all existing obstacles are made, get the speed limiting info from limiting st-obstacles.
| Time | t. |
| The | actual limiting speed-info: (lower, upper) |
在文件 st_obstacles_processor.cc 第 277 行定义.
| bool apollo::planning::STObstaclesProcessor::GetSBoundsFromDecisions | ( | double | t, |
| std::vector< std::pair< double, double > > *const | available_s_bounds, | ||
| std::vector< std::vector< std::pair< std::string, ObjectDecisionType > > > *const | available_obs_decisions | ||
| ) |
Given a time t, get the lower and upper s-boundaries.
If the boundary is well-defined based on decision made previously, fill "available_s_bounds" with only one boundary. Otherwise, fill "available_s_bounds with all candidates and "available_obs_decisions" with corresponding possible obstacle decisions.
| Time | t |
| The | available s-boundaries to be filled up. |
| The | corresponding possible obstacle decisions. |
在文件 st_obstacles_processor.cc 第 311 行定义.
| void apollo::planning::STObstaclesProcessor::Init | ( | const double | planning_distance, |
| const double | planning_time, | ||
| const PathData & | path_data, | ||
| PathDecision *const | path_decision, | ||
| History *const | history | ||
| ) |
在文件 st_obstacles_processor.cc 第 50 行定义.
| Status apollo::planning::STObstaclesProcessor::MapObstaclesToSTBoundaries | ( | PathDecision *const | path_decision | ) |
在文件 st_obstacles_processor.cc 第 72 行定义.
| void apollo::planning::STObstaclesProcessor::SetObstacleDecision | ( | const std::string & | obs_id, |
| const ObjectDecisionType & | obs_decision | ||
| ) |
Set the decision for a given obstacle.
在文件 st_obstacles_processor.cc 第 445 行定义.
| void apollo::planning::STObstaclesProcessor::SetObstacleDecision | ( | const std::vector< std::pair< std::string, ObjectDecisionType > > & | obstacle_decisions | ) |
Set the decision for a list of obstacles.
在文件 st_obstacles_processor.cc 第 462 行定义.