Apollo 10.0
自动驾驶开放平台
|
#include <predictor_manager.h>
Public 成员函数 | |
PredictorManager () | |
Constructor | |
virtual | ~PredictorManager ()=default |
Destructor | |
void | Init (const PredictionConf &config) |
Initializer | |
Predictor * | GetPredictor (const ObstacleConf::PredictorType &type) |
Get predictor | |
void | Run (const apollo::perception::PerceptionObstacles &perception_obstacles, const ADCTrajectoryContainer *adc_trajectory_container, ObstaclesContainer *obstacles_container) |
Execute the predictor generation | |
void | PredictObstacle (const ADCTrajectoryContainer *adc_trajectory_container, Obstacle *obstacle, ObstaclesContainer *obstacles_container, PredictionObstacle *const prediction_obstacle) |
Predict a single obstacle | |
const PredictionObstacles & | prediction_obstacles () |
Get prediction obstacles | |
在文件 predictor_manager.h 第 38 行定义.
apollo::prediction::PredictorManager::PredictorManager | ( | ) |
|
virtualdefault |
Destructor
Predictor * apollo::prediction::PredictorManager::GetPredictor | ( | const ObstacleConf::PredictorType & | type | ) |
Get predictor
在文件 predictor_manager.cc 第 124 行定义.
void apollo::prediction::PredictorManager::Init | ( | const PredictionConf & | config | ) |
Initializer
Prediction | config |
在文件 predictor_manager.cc 第 73 行定义.
const PredictionObstacles & apollo::prediction::PredictorManager::prediction_obstacles | ( | ) |
Get prediction obstacles
在文件 predictor_manager.cc 第 347 行定义.
void apollo::prediction::PredictorManager::PredictObstacle | ( | const ADCTrajectoryContainer * | adc_trajectory_container, |
Obstacle * | obstacle, | ||
ObstaclesContainer * | obstacles_container, | ||
PredictionObstacle *const | prediction_obstacle | ||
) |
Predict a single obstacle
A | pointer to adc_trajectory_container |
A | pointer to the specific obstacle |
A | pointer to the obstacles container |
A | pointer to prediction_obstacle |
在文件 predictor_manager.cc 第 232 行定义.
void apollo::prediction::PredictorManager::Run | ( | const apollo::perception::PerceptionObstacles & | perception_obstacles, |
const ADCTrajectoryContainer * | adc_trajectory_container, | ||
ObstaclesContainer * | obstacles_container | ||
) |
Execute the predictor generation
Adc | trajectory container |
Obstacles | container |
在文件 predictor_manager.cc 第 130 行定义.