#include <livox_component.h>
|
void | BinaryDataProcess (const unsigned char *data, const int &data_type, const int &point_size, const uint64_t &pkt_timestamp, const uint32_t &time_interval) |
|
void | PointCloudCallback (uint32_t handle, const uint8_t dev_type, LivoxLidarEthernetPacket *data, void *client_data) |
|
size_t | GetEthPacketByteSize (LivoxLidarEthernetPacket *data) |
|
void | PreparePointsMsg (PointCloud &msg) |
|
bool | Init () override |
|
void | ReadScanCallback (const std::shared_ptr< livox::LivoxScan > &scan_message) override |
|
void | CheckTimestampAndPublishPointCloud () |
|
virtual | ~LidarComponentBase ()=default |
|
bool | InitBase (const LidarConfigBase &lidar_config_base) override |
|
bool | WriteScan (const std::shared_ptr< livox::LivoxScan > &scan_message) |
|
std::shared_ptr< PointCloud > | AllocatePointCloud () |
|
bool | WritePointCloud (const std::shared_ptr< PointCloud > &point_cloud) |
|
virtual | ~LidarComponentBaseImpl ()=default |
|
virtual void | ReadScanCallback (const std::shared_ptr< ScanType > &scan_message)=0 |
|
std::shared_ptr< ScanType > | AcquireScanMessage () |
|
| 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) |
|
virtual | ~ComponentBase () |
|
virtual bool | Initialize (const TimerComponentConfig &config) |
|
virtual void | Shutdown () |
|
template<typename T > |
bool | GetProtoConfig (T *config) const |
|
◆ BinaryDataProcess()
void apollo::drivers::lidar::LivoxLidarComponent::BinaryDataProcess |
( |
const unsigned char * |
data, |
|
|
const int & |
data_type, |
|
|
const int & |
point_size, |
|
|
const uint64_t & |
pkt_timestamp, |
|
|
const uint32_t & |
time_interval |
|
) |
| |
◆ CheckTimestampAndPublishPointCloud()
void apollo::drivers::lidar::LivoxLidarComponent::CheckTimestampAndPublishPointCloud |
( |
| ) |
|
◆ GetEthPacketByteSize()
size_t apollo::drivers::lidar::LivoxLidarComponent::GetEthPacketByteSize |
( |
LivoxLidarEthernetPacket * |
data | ) |
|
◆ Init()
bool apollo::drivers::lidar::LivoxLidarComponent::Init |
( |
| ) |
|
|
overridevirtual |
◆ PointCloudCallback()
void apollo::drivers::lidar::LivoxLidarComponent::PointCloudCallback |
( |
uint32_t |
handle, |
|
|
const uint8_t |
dev_type, |
|
|
LivoxLidarEthernetPacket * |
data, |
|
|
void * |
client_data |
|
) |
| |
◆ PreparePointsMsg()
void apollo::drivers::lidar::LivoxLidarComponent::PreparePointsMsg |
( |
PointCloud & |
msg | ) |
|
◆ ReadScanCallback()
void apollo::drivers::lidar::LivoxLidarComponent::ReadScanCallback |
( |
const std::shared_ptr< livox::LivoxScan > & |
scan_message | ) |
|
|
overridevirtual |
◆ config_
livox::Config apollo::drivers::lidar::LivoxLidarComponent::config_ |
◆ integral_queue_
std::deque<PointXYZIT> apollo::drivers::lidar::LivoxLidarComponent::integral_queue_ |
◆ integral_time_
double apollo::drivers::lidar::LivoxLidarComponent::integral_time_ = {0.1} |
◆ last_pointcloud_pub_timestamp_
uint64_t apollo::drivers::lidar::LivoxLidarComponent::last_pointcloud_pub_timestamp_ {0} |
◆ pointcloud_freq_
double apollo::drivers::lidar::LivoxLidarComponent::pointcloud_freq_ = {10.0} |
该类的文档由以下文件生成: