|
Apollo 10.0
自动驾驶开放平台
|
#include <free_move_predictor.h>
Public 成员函数 | |
| FreeMovePredictor () | |
| Constructor | |
| virtual | ~FreeMovePredictor ()=default |
| Destructor | |
| bool | Predict (const ADCTrajectoryContainer *adc_trajectory_container, Obstacle *obstacle, ObstaclesContainer *obstacles_container) override |
| Make prediction | |
Public 成员函数 继承自 apollo::prediction::Predictor | |
| 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 | |
额外继承的成员函数 | |
Protected 成员函数 继承自 apollo::prediction::Predictor | |
| 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 | |
静态 Protected 成员函数 继承自 apollo::prediction::Predictor | |
| static Trajectory | GenerateTrajectory (const std::vector< apollo::common::TrajectoryPoint > &points) |
| Generate trajectory from trajectory points | |
Protected 属性 继承自 apollo::prediction::Predictor | |
| ObstacleConf::PredictorType | predictor_type_ |
在文件 free_move_predictor.h 第 32 行定义.
| apollo::prediction::FreeMovePredictor::FreeMovePredictor | ( | ) |
Constructor
在文件 free_move_predictor.cc 第 29 行定义.
|
virtualdefault |
Destructor
|
overridevirtual |
Make prediction
| ADC | trajectory container |
| Obstacle | pointer |
| Obstacles | container |
实现了 apollo::prediction::Predictor.
在文件 free_move_predictor.cc 第 33 行定义.