Apollo 10.0
自动驾驶开放平台
apollo::drivers::robosense 命名空间参考

struct  Config
 
struct  RobosenseScan
 
struct  RobosenseScanPacket
 

类型定义

template<typename PointT >
typedef std::shared_ptr< PointCloudPointCloudPtr
 
typedef std::shared_ptr< const PointCloudPointCloudConstPtr
 
typedef std::shared_ptr< PointCloudMsgPtr
 
typedef std::shared_ptr< const PointCloudMsgConstPtr
 

枚举

enum  PktType { MSOP = 0 , DIFOP }
 

函数

 PacketMsg ()
 
 PacketMsg (const PacketMsg &msg)
 
 PacketMsg (const size_t &pkt_length)
 
 PointCloudMsg ()=default
 
 PointCloudMsg (const PointCloudPtr &ptr)
 

变量

double timestamp = 0.0
 
std::string frame_id = ""
 Point cloud frame id
 
uint32_t seq = 0
 Sequence number of message
 
uint32_t height = 0
 Height of point cloud
 
uint32_t width = 0
 Width of point cloud
 
bool is_dense = false
 If is_dense=true, the point cloud does not contain NAN points
 
PointCloudPtr point_cloud_ptr
 Point cloud pointer
 
std::vector< PacketMsgpackets
 A vector which store a scan of packets (the size of the vector is not fix)
 

类型定义说明

◆ ConstPtr

typedef std::shared_ptr<const PointCloudMsg> apollo::drivers::robosense::ConstPtr

在文件 point_cloud_msg.h62 行定义.

◆ PointCloudConstPtr

在文件 point_cloud_msg.h49 行定义.

◆ PointCloudPtr

template<typename PointT >
typedef std::shared_ptr<PointCloud> apollo::drivers::robosense::PointCloudPtr
初始值:
{
typedef std::vector<PointT> PointCloud

在文件 point_cloud_msg.h48 行定义.

◆ Ptr

在文件 point_cloud_msg.h61 行定义.

枚举类型说明

◆ PktType

枚举值
MSOP 
DIFOP 

在文件 packet_msg.h40 行定义.

函数说明

◆ PacketMsg() [1/3]

apollo::drivers::robosense::PacketMsg ( )

在文件 packet_msg.h52 行定义.

53 {
54 }

◆ PacketMsg() [2/3]

apollo::drivers::robosense::PacketMsg ( const PacketMsg &  msg)

在文件 packet_msg.h55 行定义.

56 {
57 this->packet.assign(msg.packet.begin(), msg.packet.end());
58 }

◆ PacketMsg() [3/3]

apollo::drivers::robosense::PacketMsg ( const size_t &  pkt_length)

在文件 packet_msg.h59 行定义.

60 {
61 packet.resize(pkt_length);
62 }

◆ PointCloudMsg() [1/2]

apollo::drivers::robosense::PointCloudMsg ( )
default

◆ PointCloudMsg() [2/2]

apollo::drivers::robosense::PointCloudMsg ( const PointCloudPtr ptr)
explicit

在文件 point_cloud_msg.h58 行定义.

58 : point_cloud_ptr(ptr)
59 {
60 }
PointCloudPtr point_cloud_ptr
Point cloud pointer

变量说明

◆ frame_id

std::string apollo::drivers::robosense::frame_id = ""

Point cloud frame id

在文件 point_cloud_msg.h51 行定义.

◆ height

uint32_t apollo::drivers::robosense::height = 0

Height of point cloud

在文件 point_cloud_msg.h53 行定义.

◆ is_dense

bool apollo::drivers::robosense::is_dense = false

If is_dense=true, the point cloud does not contain NAN points

在文件 point_cloud_msg.h55 行定义.

◆ packets

std::vector<PacketMsg> apollo::drivers::robosense::packets

A vector which store a scan of packets (the size of the vector is not fix)

在文件 scan_msg.h49 行定义.

◆ point_cloud_ptr

PointCloudPtr apollo::drivers::robosense::point_cloud_ptr

Point cloud pointer

在文件 point_cloud_msg.h56 行定义.

◆ seq

uint32_t apollo::drivers::robosense::seq = 0

Sequence number of message

在文件 point_cloud_msg.h52 行定义.

◆ timestamp

double apollo::drivers::robosense::timestamp = 0.0

在文件 point_cloud_msg.h50 行定义.

◆ width

uint32_t apollo::drivers::robosense::width = 0

Width of point cloud

在文件 point_cloud_msg.h54 行定义.