Apollo 10.0
自动驾驶开放平台
apollo::drivers::lslidar::parser::Lslidar401Parser类 参考

#include <lslidar_parser.h>

类 apollo::drivers::lslidar::parser::Lslidar401Parser 继承关系图:
apollo::drivers::lslidar::parser::Lslidar401Parser 的协作图:

Public 成员函数

 Lslidar401Parser (const Config &config)
 
 ~Lslidar401Parser ()
 
void GeneratePointcloud (const std::shared_ptr< LslidarScan > &scan_msg, const std::shared_ptr< apollo::drivers::PointCloud > &out_msg)
 Set up for data processing.
 
void Order (std::shared_ptr< apollo::drivers::PointCloud > cloud)
 
- Public 成员函数 继承自 apollo::drivers::lslidar::parser::LslidarParser
 LslidarParser ()
 
 LslidarParser (const Config &config)
 
virtual ~LslidarParser ()
 
virtual void setup ()
 Set up for on-line operation.
 
const double get_last_timestamp ()
 

额外继承的成员函数

- Protected 成员函数 继承自 apollo::drivers::lslidar::parser::LslidarParser
bool is_scan_valid (int rotation, float distance)
 
void ComputeCoords (const float &raw_distance, LaserCorrection *corrections, const uint16_t rotation, PointXYZIT *point)
 
void ComputeCoords2 (int Laser_ring, int Type, const float &raw_distance, LaserCorrection *corrections, const double rotation, PointXYZIT *point)
 
- Protected 属性 继承自 apollo::drivers::lslidar::parser::LslidarParser
double scan_altitude [16]
 
float sin_azimuth_table [ROTATION_MAX_UNITS]
 
float cos_azimuth_table [ROTATION_MAX_UNITS]
 
double cos_scan_altitude_caliration [LSC32_SCANS_PER_FIRING]
 
double sin_scan_altitude_caliration [LSC32_SCANS_PER_FIRING]
 
double last_time_stamp_
 
double theat1_s [128]
 
double theat2_s [128]
 
double theat1_c [128]
 
double theat2_c [128]
 
double prism_angle [4]
 
double prism_angle64 [4]
 
Config config_
 
Calibration calibration_
 
bool need_two_pt_correction_
 
bool config_vert_angle
 
uint64_t current_packet_time = 0
 
uint64_t previous_packet_time = 0
 

详细描述

在文件 lslidar_parser.h668 行定义.

构造及析构函数说明

◆ Lslidar401Parser()

apollo::drivers::lslidar::parser::Lslidar401Parser::Lslidar401Parser ( const Config config)
explicit

◆ ~Lslidar401Parser()

apollo::drivers::lslidar::parser::Lslidar401Parser::~Lslidar401Parser ( )
inline

在文件 lslidar_parser.h671 行定义.

671{}

成员函数说明

◆ GeneratePointcloud()

void apollo::drivers::lslidar::parser::Lslidar401Parser::GeneratePointcloud ( const std::shared_ptr< LslidarScan > &  scan_msg,
const std::shared_ptr< apollo::drivers::PointCloud > &  out_msg 
)
virtual

Set up for data processing.

Perform initializations needed before data processing can begin:

  • read device-specific angles calibration
参数
private_nhprivate node handle for ROS parameters
返回
0 if successful; errno value for failure

实现了 apollo::drivers::lslidar::parser::LslidarParser.

◆ Order()

void apollo::drivers::lslidar::parser::Lslidar401Parser::Order ( std::shared_ptr< apollo::drivers::PointCloud cloud)
virtual

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