livox系列雷达时间的问题

livox系列雷达,可以逐点记录系统时间(不外部同步的情况下)。每个点云点的时间精度也跟随ros一致,也是纳秒精度。

根据消息格式,livox_ros_driver/CustomMsg.msg

# Livox publish pointcloud msg format.

Header header             # ROS standard message header
uint64 timebase           # The time of first point
uint32 point_num          # Total number of pointclouds
uint8  lidar_id           # Lidar device id number
uint8[3]  rsvd            # Reserved use
CustomPoint[] points      # Pointcloud data

最后的 Pointcloud data 格式如下:

uint32 offset_time      # offset time relative to the base time
float32 x               # X axis, unit:m
float32 y               # Y axis, unit:m
float32 z               # Z axis, unit:m
uint8 reflectivity      # reflectivity, 0~255
uint8 tag               # livox tag
uint8 line              # laser number in lidar

那么每个点云的真实系统时间就是:

point_time = timebase + offset_time; // 以纳秒为单位

point_time = (timebase + offset_time)/ float(1000,000,000); //以秒为单位

 其次,header的时间戳是否和timebase一致,以后研究。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值