Ouster雷达基于ROS时间

可以不进行时间同步,使用ROS时间,但是需要更改源码。

  1. To replace that second instance of h->timestamp with ros::Time::now())

  2. 在os_cloud_node.cpp的70行,改成这样: lidar_pub.publish(ouster_ros::cloud_to_cloud_msg(cloud, ros::Time::now(), sensor_frame));

  3. 但是由于ros::Time::now()的数据类型不是ns,所以:

    wecom-temp-8dc0ebad45c5e6046a2396b75af05e96


Suzhou Soy Robotics Technology Co., Ltd. All rights reserved. Su ICP No. 17076064
Address: Room 1203, 12th Floor, Science and Technology Plaza, Qianjin East Road, Kunshan City, Jiangsu Province, P.R. China, 215300

Su ICP No. 17076064-1

技术支持:米拓建站 8.0 ©2008-2025

Enterprise contact

Enterprise contact