Apollo 11.0
自动驾驶开放平台
apollo::planning::LaneBorrowPath类 参考

#include <lane_borrow_path.h>

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

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_
 
std::vector< SLPolygon > obs_sl_polygons_
 
- Protected 属性 继承自 apollo::planning::Task
Frame * frame_
 
ReferenceLineInfo * reference_line_info_
 
std::shared_ptr< DependencyInjector > injector_
 
std::string config_path_
 
std::string default_config_path_
 
std::string name_
 

详细描述

在文件 lane_borrow_path.h 第 35 行定义.

成员函数说明

◆ Init()

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

重载 apollo::planning::Task .

在文件 lane_borrow_path.cc 第 47 行定义.

49 {
50 if (!Task::Init(config_dir, name, injector)) {
51 return false;
52 }
53 // Load the config this task.
54 return Task::LoadConfig<LaneBorrowPathConfig>(&config_);
55}
virtual bool Init(const std::string &config_dir, const std::string &name, const std::shared_ptr< DependencyInjector > &injector)
Definition task.cc:40

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