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

#include <free_move_predictor.h>

Inheritance diagram for apollo::prediction::FreeMovePredictor:
Inheritance graph
Collaboration diagram for apollo::prediction::FreeMovePredictor:
Collaboration graph

Public Member Functions

 FreeMovePredictor ()
 Constructor. More...
 
virtual ~FreeMovePredictor ()=default
 Destructor. More...
 
bool Predict (const ADCTrajectoryContainer *adc_trajectory_container, Obstacle *obstacle, ObstaclesContainer *obstacles_container) override
 Make prediction. More...
 
- Public Member Functions inherited from apollo::prediction::Predictor
 Predictor ()=default
 Constructor. More...
 
virtual ~Predictor ()=default
 Destructor. More...
 
int NumOfTrajectories (const Obstacle &obstacle)
 Get trajectory size. More...
 
virtual void Clear ()
 Clear all trajectories. More...
 
void TrimTrajectories (const ADCTrajectoryContainer &adc_trajectory_container, Obstacle *obstacle)
 Trim prediction trajectories by adc trajectory. More...
 
const ObstacleConf::PredictorType & predictor_type ()
 get the predictor type More...
 

Additional Inherited Members

- Protected Member Functions inherited from apollo::prediction::Predictor
void SetEqualProbability (const double probability, const int start_index, Obstacle *obstacle_ptr)
 Set equal probability to prediction trajectories. More...
 
bool TrimTrajectory (const ADCTrajectoryContainer &adc_trajectory_container, Obstacle *obstacle, Trajectory *trajectory)
 Trim a single prediction trajectory, keep the portion that is not in junction. More...
 
bool SupposedToStop (const Feature &feature, const double stop_distance, double *acceleration)
 Determine if an obstacle is supposed to stop within a distance. More...
 
- Static Protected Member Functions inherited from apollo::prediction::Predictor
static Trajectory GenerateTrajectory (const std::vector< apollo::common::TrajectoryPoint > &points)
 Generate trajectory from trajectory points. More...
 
- Protected Attributes inherited from apollo::prediction::Predictor
ObstacleConf::PredictorType predictor_type_
 

Constructor & Destructor Documentation

◆ FreeMovePredictor()

apollo::prediction::FreeMovePredictor::FreeMovePredictor ( )

Constructor.

◆ ~FreeMovePredictor()

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

Destructor.

Member Function Documentation

◆ Predict()

bool apollo::prediction::FreeMovePredictor::Predict ( const ADCTrajectoryContainer adc_trajectory_container,
Obstacle obstacle,
ObstaclesContainer obstacles_container 
)
overridevirtual

Make prediction.

Parameters
ADCtrajectory container
Obstaclepointer
Obstaclescontainer
Returns
If predicted successfully

Implements apollo::prediction::Predictor.


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