|
Apollo 11.0
自动驾驶开放平台
|
#include <stage.h>
Public 成员函数 | |
| 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 成员函数 | |
| 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 属性 | |
| 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_ |
| apollo::planning::Stage::Stage | ( | ) |
|
virtualdefault |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
inline |
|
virtual |
被 apollo::planning::StageFreeSpace, apollo::planning::LaneEscapeParkStage, apollo::planning::LaneFollowParkStage, apollo::planning::StageLargeCurvature, apollo::planning::StageApproachingPreciseParking, apollo::planning::StageArriveParkingSpot, apollo::planning::StagePreciseParking, apollo::planning::ExtricateStage, apollo::planning::SquareLaneFollowStage, apollo::planning::StageApproachingParkingSpot, apollo::planning::StageApproachingParkingSpotPark, apollo::planning::StopSignUnprotectedStageCreep, apollo::planning::TrafficLightUnprotectedLeftTurnStageCreep, apollo::planning::TrafficLightUnprotectedRightTurnStageCreep , 以及 apollo::planning::YieldSignStageCreep 重载.
| const std::string & apollo::planning::Stage::Name | ( | ) | const |
|
inline |
|
pure virtual |
Each stage does its business logic inside Process function.
If the stage want to transit to a different stage after finish, it should set the type of 'next_stage_'.
在 apollo::planning::BareIntersectionUnprotectedStageApproach, apollo::planning::BareIntersectionUnprotectedStageIntersectionCruise, apollo::planning::EmergencyPullOverStageApproach, apollo::planning::EmergencyPullOverStageSlowDown, apollo::planning::EmergencyPullOverStageStandby, apollo::planning::EmergencyStopStageApproach, apollo::planning::EmergencyStopStageStandby, apollo::planning::StageFreeSpace, apollo::planning::LaneEscapeParkStage, apollo::planning::LaneFollowStage, apollo::planning::LaneFollowParkStage, apollo::planning::StageLargeCurvature, apollo::planning::ParkAndGoStageAdjust, apollo::planning::ParkAndGoStageCheck, apollo::planning::ParkAndGoStageCruise, apollo::planning::ParkAndGoStagePreCruise, apollo::planning::StageApproachingPreciseParking, apollo::planning::StageArriveParkingSpot, apollo::planning::StagePreciseParking, apollo::planning::PullOverStageApproach, apollo::planning::PullOverStageRetryApproachParking, apollo::planning::PullOverStageRetryParking, apollo::planning::ExtricateStage, apollo::planning::SquareLaneFollowStage, apollo::planning::StopSignUnprotectedStageCreep, apollo::planning::StopSignUnprotectedStageIntersectionCruise, apollo::planning::StopSignUnprotectedStagePreStop, apollo::planning::StopSignUnprotectedStageStop, apollo::planning::TrafficLightProtectedStageApproach, apollo::planning::TrafficLightProtectedStageIntersectionCruise, apollo::planning::TrafficLightUnprotectedLeftTurnStageApproach, apollo::planning::TrafficLightUnprotectedLeftTurnStageCreep, apollo::planning::TrafficLightUnprotectedLeftTurnStageIntersectionCruise, apollo::planning::TrafficLightUnprotectedRightTurnStageCreep, apollo::planning::TrafficLightUnprotectedRightTurnStageIntersectionCruise, apollo::planning::TrafficLightUnprotectedRightTurnStageStop, apollo::planning::StageApproachingParkingSpot, apollo::planning::StageParking, apollo::planning::StageApproachingParkingSpotPark, apollo::planning::StageParkingPark, apollo::planning::StageParkingRetryPark, apollo::planning::YieldSignStageApproach , 以及 apollo::planning::YieldSignStageCreep 内被实现.
|
protected |
|
protected |
|
protected |
|
protected |