Apollo 10.0
自动驾驶开放平台
apollo::prediction::ScenarioManager类 参考

#include <scenario_manager.h>

apollo::prediction::ScenarioManager 的协作图:

Public 成员函数

 ScenarioManager ()=default
 Constructor
 
 ~ScenarioManager ()=default
 Destructor
 
void Run (ContainerManager *container_manager)
 Run scenario analysis
 
const Scenario scenario () const
 Get scenario analysis result
 

详细描述

在文件 scenario_manager.h27 行定义.

构造及析构函数说明

◆ ScenarioManager()

apollo::prediction::ScenarioManager::ScenarioManager ( )
default

Constructor

◆ ~ScenarioManager()

apollo::prediction::ScenarioManager::~ScenarioManager ( )
default

Destructor

成员函数说明

◆ Run()

void apollo::prediction::ScenarioManager::Run ( ContainerManager container_manager)

Run scenario analysis

在文件 scenario_manager.cc24 行定义.

24 {
25 auto environment_features =
27
28 auto ptr_scenario_features = ScenarioAnalyzer::Analyze(environment_features);
29
30 current_scenario_ = ptr_scenario_features->scenario();
31
32 // TODO(all) other functionalities including lane, junction filters
33}
static EnvironmentFeatures ExtractEnvironmentFeatures(ContainerManager *container_manager)
Extract features for scenario analysis
static std::shared_ptr< ScenarioFeatures > Analyze(const EnvironmentFeatures &environment_features)

◆ scenario()

const Scenario apollo::prediction::ScenarioManager::scenario ( ) const

Get scenario analysis result

在文件 scenario_manager.cc35 行定义.

35{ return current_scenario_; }

该类的文档由以下文件生成: