Livox-SDK / livox_ros_driver

Livox device driver under ros, support Lidar Mid-40, Mid-70, Tele-15, Horizon, Avia.
Other
363 stars 203 forks source link

Hroizon激光雷达中对UTC时间获取的问题 #75

Open Gold-finger99 opened 3 years ago

Gold-finger99 commented 3 years ago

可以通过更改livox_ros_driver中timeStamep为ros::Time::now()来获取UTC时间吗?

Livox-SDK commented 3 years ago

可以通过 ros::Time::now() 来获取 utc 时间, 但是这个时间是您 ros 系统的时间,并不是点云的时间; 如果将这个时间作为点云的时间戳,误差会比较大,并没有太大的使用价值

qianxingqx commented 3 years ago

请问如果要将 timeStamep 更改为 ros::Time::now() 来获取UTC时间的话,需要在哪个文件中修改哪些语句呢?