|
Apollo
6.0
Open source self driving car software
|
Velodyne data conversion class. More...
#include <velodyne_parser.h>


Public Member Functions | |
| VelodyneParser () | |
| VelodyneParser (const Config &config) | |
| virtual | ~VelodyneParser () |
| virtual void | GeneratePointcloud (const std::shared_ptr< VelodyneScan > &scan_msg, std::shared_ptr< PointCloud > out_msg)=0 |
| Set up for data processing. More... | |
| virtual void | setup () |
| virtual void | Order (std::shared_ptr< PointCloud > cloud)=0 |
| const Calibration & | get_calibration () |
| const double | get_last_timestamp () |
Protected Member Functions | |
| PointXYZIT | get_nan_point (uint64_t timestamp) |
| void | init_angle_params (double view_direction, double view_width) |
| void | ComputeCoords (const float &raw_distance, const LaserCorrection &corrections, const uint16_t rotation, PointXYZIT *point) |
| Compute coords with the data in block. More... | |
| bool | is_scan_valid (int rotation, float distance) |
| virtual void | Unpack (const VelodynePacket &pkt, std::shared_ptr< PointCloud > pc)=0 |
| Unpack velodyne packet. More... | |
| uint64_t | GetGpsStamp (double current_stamp, double *previous_stamp, uint64_t *gps_base_usec) |
| virtual uint64_t | GetTimestamp (double base_time, float time_offset, uint16_t laser_block_id)=0 |
Protected Attributes | |
| const float(* | inner_time_ )[12][32] |
| Calibration | calibration_ |
| float | sin_rot_table_ [ROTATION_MAX_UNITS] |
| float | cos_rot_table_ [ROTATION_MAX_UNITS] |
| double | last_time_stamp_ |
| Config | config_ |
| bool | need_two_pt_correction_ |
| Mode | mode_ |
Velodyne data conversion class.
|
inline |
|
explicit |
|
inlinevirtual |
|
protected |
Compute coords with the data in block.
| tmp | A two bytes union store the value of laser distance information |
| index | The index of block |
|
pure virtual |
Set up for data processing.
Perform initializations needed before data processing can begin:
| private_nh | private node handle for ROS parameters |
Implemented in apollo::drivers::velodyne::Velodyne128Parser, apollo::drivers::velodyne::Velodyne16Parser, apollo::drivers::velodyne::Velodyne32Parser, and apollo::drivers::velodyne::Velodyne64Parser.
|
inline |
|
inline |
|
protected |
|
protected |
|
protectedpure virtual |
|
protected |
|
protected |
|
pure virtual |
|
virtual |
Reimplemented in apollo::drivers::velodyne::Velodyne64Parser.
|
protectedpure virtual |
Unpack velodyne packet.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.13