Apollo 10.0
自动驾驶开放平台
apollo::perception::camera::CameraDetectionBevComponent类 参考final

#include <camera_detection_bev_component.h>

类 apollo::perception::camera::CameraDetectionBevComponent 继承关系图:
apollo::perception::camera::CameraDetectionBevComponent 的协作图:

Public 类型

using PerceptionObstacle = apollo::perception::PerceptionObstacle
 
using PerceptionObstacles = apollo::perception::PerceptionObstacles
 
- Public 类型 继承自 apollo::cyber::ComponentBase
template<typename M >
using Reader = cyber::Reader< M >
 

Public 成员函数

 CameraDetectionBevComponent ()
 
bool Init () override
 Init for camera detection 2d compoment
 
- Public 成员函数 继承自 apollo::cyber::Component< M0, M1, M2, M3 >
 Component ()
 
 ~Component () override
 
bool Initialize (const ComponentConfig &config) override
 init the component by protobuf object.
 
bool Process (const std::shared_ptr< M0 > &msg0, const std::shared_ptr< M1 > &msg1, const std::shared_ptr< M2 > &msg2, const std::shared_ptr< M3 > &msg3)
 
- Public 成员函数 继承自 apollo::cyber::ComponentBase
virtual ~ComponentBase ()
 
virtual bool Initialize (const TimerComponentConfig &config)
 
virtual void Shutdown ()
 
template<typename T >
bool GetProtoConfig (T *config) const
 

额外继承的成员函数

- Protected 成员函数 继承自 apollo::cyber::ComponentBase
virtual void Clear ()
 
const std::string & ConfigFilePath () const
 
void LoadConfigFiles (const ComponentConfig &config)
 
void LoadConfigFiles (const TimerComponentConfig &config)
 
- Protected 属性 继承自 apollo::cyber::ComponentBase
std::atomic< bool > is_shutdown_ = {false}
 
std::shared_ptr< Nodenode_ = nullptr
 
std::string config_file_path_ = ""
 
std::vector< std::shared_ptr< ReaderBase > > readers_
 

详细描述

在文件 camera_detection_bev_component.h34 行定义.

成员类型定义说明

◆ PerceptionObstacle

◆ PerceptionObstacles

构造及析构函数说明

◆ CameraDetectionBevComponent()

apollo::perception::camera::CameraDetectionBevComponent::CameraDetectionBevComponent ( )
inline

在文件 camera_detection_bev_component.h40 行定义.

40: timestamp_offset_(0) {}

成员函数说明

◆ Init()

bool apollo::perception::camera::CameraDetectionBevComponent::Init ( )
overridevirtual

Init for camera detection 2d compoment

返回
true
false

实现了 apollo::cyber::ComponentBase.

在文件 camera_detection_bev_component.cc107 行定义.

107 {
108 CameraDetectionBEV detection_param;
109 if (!GetProtoConfig(&detection_param)) {
110 AERROR << "Load camera detection 3d component config failed!";
111 return false;
112 }
113
114 // todo(zero): need init image_height_\image_width_
115 InitDetector(detection_param);
116 InitCameraFrame(detection_param);
117 InitListeners(detection_param);
118 InitTransformWrapper(detection_param);
119
120 writer_ = node_->CreateWriter<PerceptionObstacles>(
121 detection_param.channel().output_obstacles_channel_name());
122 return true;
123}
bool GetProtoConfig(T *config) const
std::shared_ptr< Node > node_
#define AERROR
Definition log.h:44

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