Apollo 10.0
自动驾驶开放平台
apollo::drivers::lidar::SeyondComponent类 参考

#include <seyond_component.h>

类 apollo::drivers::lidar::SeyondComponent 继承关系图:
apollo::drivers::lidar::SeyondComponent 的协作图:

Public 成员函数

bool Init () override
 
void ReadScanCallback (const std::shared_ptr< seyond::SeyondScan > &scan_message) override
 
void SeyondCloudCallback (std::shared_ptr< PointCloud > cloud)
 
void SeyondPacketCallback (const InnoDataPacket *pkt, bool is_next_frame)
 
std::shared_ptr< PointCloudSeyondCloudAllocateCallback ()
 
- Public 成员函数 继承自 apollo::drivers::lidar::LidarComponentBase< seyond::SeyondScan >
virtual ~LidarComponentBase ()=default
 
bool InitBase (const LidarConfigBase &lidar_config_base) override
 
bool WriteScan (const std::shared_ptr< seyond::SeyondScan > &scan_message)
 
std::shared_ptr< PointCloudAllocatePointCloud ()
 
bool WritePointCloud (const std::shared_ptr< PointCloud > &point_cloud)
 
- Public 成员函数 继承自 apollo::drivers::lidar::LidarComponentBaseImpl< ScanType, ComponentType >
virtual ~LidarComponentBaseImpl ()=default
 
virtual void ReadScanCallback (const std::shared_ptr< ScanType > &scan_message)=0
 
std::shared_ptr< ScanType > AcquireScanMessage ()
 
- 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
 

静态 Public 成员函数

static void SeyondLogCallback (int32_t level, const char *header, const char *msg)
 

额外继承的成员函数

- Public 类型 继承自 apollo::drivers::lidar::LidarComponentBase< seyond::SeyondScan >
using BaseComponent = LidarComponentBaseImpl< seyond::SeyondScan >
 
- Public 类型 继承自 apollo::cyber::ComponentBase
template<typename M >
using Reader = cyber::Reader< M >
 
- Protected 成员函数 继承自 apollo::drivers::lidar::LidarComponentBaseImpl< ScanType, ComponentType >
bool InitConverter (const LidarConfigBase &lidar_config_base)
 
bool InitPacket (const LidarConfigBase &lidar_config_base)
 
virtual bool WriteScan (const std::shared_ptr< ScanType > &scan_message)
 
virtual std::shared_ptr< apollo::cyber::base::ArenaQueue< PointXYZIT > > GetPointQueue ()
 
- Protected 成员函数 继承自 apollo::cyber::ComponentBase
virtual void Clear ()
 
const std::string & ConfigFilePath () const
 
void LoadConfigFiles (const ComponentConfig &config)
 
void LoadConfigFiles (const TimerComponentConfig &config)
 
- 静态 Protected 成员函数 继承自 apollo::drivers::lidar::LidarComponentBaseImpl< ScanType, ComponentType >
static void PcdDefaultCleaner (std::shared_ptr< PointCloud > &unused_pcd_frame)
 
- Protected 属性 继承自 apollo::drivers::lidar::LidarComponentBaseImpl< ScanType, ComponentType >
std::string frame_id_
 
- 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_
 

详细描述

在文件 seyond_component.h32 行定义.

成员函数说明

◆ Init()

bool apollo::drivers::lidar::SeyondComponent::Init ( )
overridevirtual

◆ ReadScanCallback()

void apollo::drivers::lidar::SeyondComponent::ReadScanCallback ( const std::shared_ptr< seyond::SeyondScan > &  scan_message)
overridevirtual

◆ SeyondCloudAllocateCallback()

std::shared_ptr< PointCloud > apollo::drivers::lidar::SeyondComponent::SeyondCloudAllocateCallback ( )

◆ SeyondCloudCallback()

void apollo::drivers::lidar::SeyondComponent::SeyondCloudCallback ( std::shared_ptr< PointCloud cloud)

◆ SeyondLogCallback()

static void apollo::drivers::lidar::SeyondComponent::SeyondLogCallback ( int32_t  level,
const char *  header,
const char *  msg 
)
static

◆ SeyondPacketCallback()

void apollo::drivers::lidar::SeyondComponent::SeyondPacketCallback ( const InnoDataPacket *  pkt,
bool  is_next_frame 
)

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