Apollo 10.0
自动驾驶开放平台
|
#include <traffic_light_protected_scenario.h>
Public 成员函数 | |
bool | Init (std::shared_ptr< DependencyInjector > injector, const std::string &name) override |
TrafficLightProtectedContext * | GetContext () override |
Get the scenario context. | |
bool | IsTransferable (const Scenario *const other_scenario, const Frame &frame) override |
Each scenario should define its own transfer condition, i.e., when it should allow to transfer from other scenario to itself. | |
bool | Exit (Frame *frame) override |
bool | Enter (Frame *frame) override |
![]() | |
Scenario () | |
virtual | ~Scenario ()=default |
virtual ScenarioResult | Process (const common::TrajectoryPoint &planning_init_point, Frame *frame) |
std::shared_ptr< Stage > | CreateStage (const StagePipeline &stage_pipeline) |
Each scenario should define its own stages object's creation scenario will call stage's Stage::Process function following a configured order, The return value of Stage::Process function determines the transition from one stage to another. | |
const ScenarioStatusType & | GetStatus () const |
const std::string | GetStage () const |
const std::string & | GetMsg () const |
const std::string & | Name () const |
void | Reset () |
Reset the scenario, used before entering the scenario. | |
额外继承的成员函数 | |
![]() | |
template<typename T > | |
bool | LoadConfig (T *config) |
![]() | |
ScenarioResult | scenario_result_ |
std::shared_ptr< Stage > | current_stage_ |
std::unordered_map< std::string, const StagePipeline * > | stage_pipeline_map_ |
std::string | msg_ |
std::shared_ptr< DependencyInjector > | injector_ |
std::string | config_path_ |
std::string | config_dir_ |
std::string | name_ |
ScenarioPipeline | scenario_pipeline_config_ |
在文件 traffic_light_protected_scenario.h 第 37 行定义.
|
overridevirtual |
重载 apollo::planning::Scenario .
在文件 traffic_light_protected_scenario.cc 第 138 行定义.
|
overridevirtual |
重载 apollo::planning::Scenario .
在文件 traffic_light_protected_scenario.cc 第 130 行定义.
|
inlineoverridevirtual |
Get the scenario context.
实现了 apollo::planning::Scenario.
在文件 traffic_light_protected_scenario.h 第 45 行定义.
|
overridevirtual |
重载 apollo::planning::Scenario .
在文件 traffic_light_protected_scenario.cc 第 36 行定义.
|
overridevirtual |
Each scenario should define its own transfer condition, i.e., when it should allow to transfer from other scenario to itself.
重载 apollo::planning::Scenario .
在文件 traffic_light_protected_scenario.cc 第 56 行定义.