Apollo 10.0
自动驾驶开放平台
apollo::planning::ReusePath类 参考

#include <reuse_path.h>

类 apollo::planning::ReusePath 继承关系图:
apollo::planning::ReusePath 的协作图:

Public 成员函数

bool Init (const std::string &config_dir, const std::string &name, const std::shared_ptr< DependencyInjector > &injector) override
 
- Public 成员函数 继承自 apollo::planning::PathGeneration
virtual ~PathGeneration ()=default
 
apollo::common::Status Execute (Frame *frame, ReferenceLineInfo *reference_line_info) override
 
apollo::common::Status Execute (Frame *frame) override
 
- Public 成员函数 继承自 apollo::planning::Task
 Task ()
 
virtual ~Task ()=default
 
const std::string & Name () const
 

额外继承的成员函数

- Protected 成员函数 继承自 apollo::planning::PathGeneration
virtual apollo::common::Status Process (Frame *frame)
 
void GetStartPointSLState ()
 calculate init sl state by planning start point, result will store in init_sl_state_
 
void RecordDebugInfo (const PathBound &path_boundaries, const std::string &debug_name, ReferenceLineInfo *const reference_line_info)
 add path_boundary debug info for PnC monitor
 
void RecordDebugInfo (const PathData &path_data, const std::string &debug_name, ReferenceLineInfo *const reference_line_info)
 add path debug info for PnC monitor
 
bool GetSLBoundary (const PathData &path_data, int point_index, const ReferenceLineInfo *reference_line_info, SLBoundary *const sl_boundary)
 get sl boundary of the point on PathData
 
- Protected 成员函数 继承自 apollo::planning::Task
template<typename T >
bool LoadConfig (T *config)
 
- Protected 属性 继承自 apollo::planning::PathGeneration
SLState init_sl_state_
 
- Protected 属性 继承自 apollo::planning::Task
Frameframe_
 
ReferenceLineInforeference_line_info_
 
std::shared_ptr< DependencyInjectorinjector_
 
std::string config_path_
 
std::string default_config_path_
 
std::string name_
 

详细描述

在文件 reuse_path.h34 行定义.

成员函数说明

◆ Init()

bool apollo::planning::ReusePath::Init ( const std::string &  config_dir,
const std::string &  name,
const std::shared_ptr< DependencyInjector > &  injector 
)
overridevirtual

重载 apollo::planning::Task .

在文件 reuse_path.cc34 行定义.

35 {
36 if (!Task::Init(config_dir, name, injector)) {
37 return false;
38 }
39 // Load the config this task.
40 return Task::LoadConfig<ReusePathConfig>(&config_);
41}
virtual bool Init(const std::string &config_dir, const std::string &name, const std::shared_ptr< DependencyInjector > &injector)
Definition task.cc:40

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