26#include "modules/drivers/lidar/lslidar/proto/config.pb.h"
27#include "modules/drivers/lidar/lslidar/proto/lslidar.pb.h"
40static const unsigned int POINTS_ONE_CHANNEL_PER_SECOND = 20000;
41static const unsigned int BLOCKS_ONE_CHANNEL_PER_PKT = 12;
42static const int POINTS_PER_PACKET = 171 * 7;
43static const int LS_POINTS_PER_PACKET_SINGLE_ECHO
45static const int LS_POINTS_PER_PACKET_DOUBLE_ECHO
56 const std::shared_ptr<apollo::drivers::lslidar::LslidarScan> &scan);
67 std::unique_ptr<Input>
input_ =
nullptr;
84 std::shared_ptr<apollo::drivers::lslidar::LslidarScan> scan);
91 uint8_t
bytes[FIRING_DATA_PACKET_SIZE] = {0x00};
static LslidarDriver * CreateDriver(const Config &config)
void SetPacketRate(const double packet_rate)
LslidarPacket last_scan_start
std::string time_service_mode
LslidarDriver(const Config &config)
LslidarPacket scan_start1
uint8_t bytes[FIRING_DATA_PACKET_SIZE]
std::thread difop_thread_
int PollStandard(std::shared_ptr< apollo::drivers::lslidar::LslidarScan > scan)
bool Poll(const std::shared_ptr< apollo::drivers::lslidar::LslidarScan > &scan)
poll the device
LslidarPacket scan_start2
std::unique_ptr< Input > positioning_input_
static uint64_t sync_counter
std::unique_ptr< Input > input_
constexpr int BLOCKS_PER_PACKET