ros-drivers / ros2_ouster_drivers

ROS2 Drivers for the Ouster OS-0, OS-1, and OS-2 Lidars
https://ouster.com/
Apache License 2.0
134 stars 79 forks source link

Pointcloud2 timestamp assignment #132

Open JeffR1992 opened 1 year ago

JeffR1992 commented 1 year ago

I just had a question about how timestamps are assigned to the header in Pointcloud2 messages. Are they assigned using the timestamps produced by the Ouster device (e.g. the time when the scan starts or ends), or by ROS2 when it receives the point cloud (e.g. using something similar to the ROS1 function ros::Time::Now()), or is there a different way that timestamps are assigned?

Any help would be appreciated. Thanks very much.

SteveMacenski commented 1 year ago

See the readme: https://github.com/ros-drivers/ros2_ouster_drivers#timestamp-modes