Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::prediction::PredictorManager Class Reference

#include <predictor_manager.h>

Collaboration diagram for apollo::prediction::PredictorManager:
Collaboration graph

Public Member Functions

 PredictorManager ()
 Constructor. More...
 
virtual ~PredictorManager ()=default
 Destructor. More...
 
void Init (const PredictionConf &config)
 Initializer. More...
 
PredictorGetPredictor (const ObstacleConf::PredictorType &type)
 Get predictor. More...
 
void Run (const apollo::perception::PerceptionObstacles &perception_obstacles, const ADCTrajectoryContainer *adc_trajectory_container, ObstaclesContainer *obstacles_container)
 Execute the predictor generation. More...
 
void PredictObstacle (const ADCTrajectoryContainer *adc_trajectory_container, Obstacle *obstacle, ObstaclesContainer *obstacles_container, PredictionObstacle *const prediction_obstacle)
 Predict a single obstacle. More...
 
const PredictionObstacles & prediction_obstacles ()
 Get prediction obstacles. More...
 

Constructor & Destructor Documentation

◆ PredictorManager()

apollo::prediction::PredictorManager::PredictorManager ( )

Constructor.

◆ ~PredictorManager()

virtual apollo::prediction::PredictorManager::~PredictorManager ( )
virtualdefault

Destructor.

Member Function Documentation

◆ GetPredictor()

Predictor* apollo::prediction::PredictorManager::GetPredictor ( const ObstacleConf::PredictorType &  type)

Get predictor.

Returns
Pointer to the predictor

◆ Init()

void apollo::prediction::PredictorManager::Init ( const PredictionConf &  config)

Initializer.

Parameters
Predictionconfig

◆ prediction_obstacles()

const PredictionObstacles& apollo::prediction::PredictorManager::prediction_obstacles ( )

Get prediction obstacles.

Returns
Prediction obstacles

◆ PredictObstacle()

void apollo::prediction::PredictorManager::PredictObstacle ( const ADCTrajectoryContainer adc_trajectory_container,
Obstacle obstacle,
ObstaclesContainer obstacles_container,
PredictionObstacle *const  prediction_obstacle 
)

Predict a single obstacle.

Parameters
Apointer to adc_trajectory_container
Apointer to the specific obstacle
Apointer to the obstacles container
Apointer to prediction_obstacle

◆ Run()

void apollo::prediction::PredictorManager::Run ( const apollo::perception::PerceptionObstacles &  perception_obstacles,
const ADCTrajectoryContainer adc_trajectory_container,
ObstaclesContainer obstacles_container 
)

Execute the predictor generation.

Parameters
Adctrajectory container
Obstaclescontainer

The documentation for this class was generated from the following file: