|
Apollo 11.0
自动驾驶开放平台
|
#include <base_stage_creep.h>
Public 成员函数 | |
| common::Status | ProcessCreep (Frame *frame, ReferenceLineInfo *reference_line_info) const |
| bool | CheckCreepDone (const Frame &frame, const ReferenceLineInfo &reference_line_info, const double stop_sign_overlap_end_s, const double wait_time_sec, const double timeout_sec) |
| double | GetCreepFinishS (double overlap_end_s, const Frame &frame, const ReferenceLineInfo &reference_line_info) const |
| Get the postion where creeping stage finishes. | |
Public 成员函数 继承自 apollo::planning::Stage | |
| Stage () | |
| virtual bool | Init (const StagePipeline &config, const std::shared_ptr< DependencyInjector > &injector, const std::string &config_dir, void *context) |
| virtual | ~Stage ()=default |
| virtual StageResult | Process (const common::TrajectoryPoint &planning_init_point, Frame *frame)=0 |
| Each stage does its business logic inside Process function. | |
| const std::string & | Name () const |
| template<typename T > | |
| T * | GetContextAs () const |
| const std::string & | NextStage () const |
额外继承的成员函数 | |
Protected 成员函数 继承自 apollo::planning::Stage | |
| StageResult | ExecuteTaskOnReferenceLine (const common::TrajectoryPoint &planning_start_point, Frame *frame) |
| StageResult | ExecuteTaskOnReferenceLineForOnlineLearning (const common::TrajectoryPoint &planning_start_point, Frame *frame) |
| StageResult | ExecuteTaskOnOpenSpace (Frame *frame) |
| virtual StageResult | FinishScenario () |
| void | RecordDebugInfo (ReferenceLineInfo *reference_line_info, const std::string &name, const double time_diff_ms) |
Protected 属性 继承自 apollo::planning::Stage | |
| std::vector< std::shared_ptr< Task > > | task_list_ |
| std::shared_ptr< Task > | fallback_task_ |
| std::string | next_stage_ |
| void * | context_ |
| std::shared_ptr< DependencyInjector > | injector_ |
| StagePipeline | pipeline_config_ |
在文件 base_stage_creep.h 第 41 行定义.
| bool apollo::planning::BaseStageCreep::CheckCreepDone | ( | const Frame & | frame, |
| const ReferenceLineInfo & | reference_line_info, | ||
| const double | stop_sign_overlap_end_s, | ||
| const double | wait_time_sec, | ||
| const double | timeout_sec | ||
| ) |
在文件 base_stage_creep.cc 第 79 行定义.
| double apollo::planning::BaseStageCreep::GetCreepFinishS | ( | double | overlap_end_s, |
| const Frame & | frame, | ||
| const ReferenceLineInfo & | reference_line_info | ||
| ) | const |
Get the postion where creeping stage finishes.
When the front edge of vehicle reaches the position, the creeping stage finishes.
| overlap_end_s | The end s mapped to reference line of the overlap. |
| frame | The frame information for current planning cycle. |
| reference_line_info | The reference line information of current planning cycle. |
在文件 base_stage_creep.cc 第 72 行定义.
| Status apollo::planning::BaseStageCreep::ProcessCreep | ( | Frame * | frame, |
| ReferenceLineInfo * | reference_line_info | ||
| ) | const |
在文件 base_stage_creep.cc 第 41 行定义.