#include <lds.h>
Public Member Functions | |
void | CleanRequestExit () |
uint8_t | GetDeviceType (uint8_t handle) |
bool | IsAllQueueEmpty () |
bool | IsAllQueueReadStop () |
bool | IsRequestExit () |
Lds (uint32_t buffer_time_ms, uint8_t data_src) | |
virtual void | PrepareExit (void) |
void | RequestExit () |
void | ResetLds (uint8_t data_src) |
void | StorageRawPacket (uint8_t handle, LivoxEthPacket *eth_packet) |
void | UpdateLidarInfoByEthPacket (LidarDevice *p_lidar, LivoxEthPacket *eth_packet) |
virtual | ~Lds () |
Static Public Member Functions | |
static void | ResetLidar (LidarDevice *lidar, uint8_t data_src) |
static void | SetLidarDataSrc (LidarDevice *lidar, uint8_t data_src) |
Public Attributes | |
uint8_t | lidar_count_ |
LidarDevice | lidars_ [kMaxSourceLidar] |
Semaphore | semaphore_ |
Protected Attributes | |
uint32_t | buffer_time_ms_ |
uint8_t | data_src_ |
Private Attributes | |
volatile bool | request_exit_ |
|
virtual |
Reimplemented in livox_ros::LdsLidar, livox_ros::LdsHub, and livox_ros::LdsLvx.
|
static |
|
static |
void livox_ros::Lds::StorageRawPacket | ( | uint8_t | handle, |
LivoxEthPacket * | eth_packet | ||
) |
void livox_ros::Lds::UpdateLidarInfoByEthPacket | ( | LidarDevice * | p_lidar, |
LivoxEthPacket * | eth_packet | ||
) |
|
protected |
LidarDevice livox_ros::Lds::lidars_[kMaxSourceLidar] |