Apollo 10.0
自动驾驶开放平台
|
#include <empty_predictor.h>
Public 成员函数 | |
EmptyPredictor () | |
Constructor | |
virtual | ~EmptyPredictor ()=default |
Destructor | |
bool | Predict (const ADCTrajectoryContainer *adc_trajectory_container, Obstacle *obstacle, ObstaclesContainer *obstacles_container) override |
Make prediction | |
![]() | |
Predictor ()=default | |
Constructor | |
virtual | ~Predictor ()=default |
Destructor | |
int | NumOfTrajectories (const Obstacle &obstacle) |
Get trajectory size | |
virtual void | Clear () |
Clear all trajectories | |
void | TrimTrajectories (const ADCTrajectoryContainer &adc_trajectory_container, Obstacle *obstacle) |
Trim prediction trajectories by adc trajectory | |
const ObstacleConf::PredictorType & | predictor_type () |
get the predictor type | |
额外继承的成员函数 | |
![]() | |
void | SetEqualProbability (const double probability, const int start_index, Obstacle *obstacle_ptr) |
Set equal probability to prediction trajectories | |
bool | TrimTrajectory (const ADCTrajectoryContainer &adc_trajectory_container, Obstacle *obstacle, Trajectory *trajectory) |
Trim a single prediction trajectory, keep the portion that is not in junction. | |
bool | SupposedToStop (const Feature &feature, const double stop_distance, double *acceleration) |
Determine if an obstacle is supposed to stop within a distance | |
![]() | |
static Trajectory | GenerateTrajectory (const std::vector< apollo::common::TrajectoryPoint > &points) |
Generate trajectory from trajectory points | |
![]() | |
ObstacleConf::PredictorType | predictor_type_ |
在文件 empty_predictor.h 第 29 行定义.
apollo::prediction::EmptyPredictor::EmptyPredictor | ( | ) |
Constructor
在文件 empty_predictor.cc 第 22 行定义.
|
virtualdefault |
Destructor
|
overridevirtual |
Make prediction
Obstacle | pointer |
Obstacles | container |
实现了 apollo::prediction::Predictor.
在文件 empty_predictor.cc 第 26 行定义.