ROS2 driver: Lidar Packet timestamps #482
Replies: 3 comments 5 replies
-
| 
 For packet timestamps you can not make this assumption since UDP packet are subject to coming out of order. The packet timestamps is recorded when the packet is received by the host machine. You probably want to check the measurement timestamps which uses the sensor clock and the time corresponds to the actual time of the measurement regardless of the order of packet arrival. 
 I don't know exactly but I am not sure why exactly this is important. During the initializing you may get a partial frame but that could be to other factor within the network (some packet drops) and not necessarily tied to way the sensor operates. 
 The question should be: when ScanBatcher yield a scan (i.e it returns true on accumulation, this is important as ScanBatcher does not necessarily always return a full scan) In a nutshell, The ScanBatcher will yield a lidarscan the moment the it receives a packet from the following frame (i.e.  Please note in a future update, this logic will be slightly changed to return immediately once all packets from current scan have arrived. Best | 
Beta Was this translation helpful? Give feedback.
-
| Hi @Samahu , What we are interested in getting is the measurement time at a certain angle.And, hence what we are trying to understand is if we can add the measurement timestamp from that angle to the time that already goes out in header.stamp. In addition to this, can you also explain what is the purpose of having  | 
Beta Was this translation helpful? Give feedback.
-
| 
 Every point in the PointCloud object has a timestamp (t) which represents the measurement timestamp; this timestamp correlates with the capture angle. Refer to this thread for more details: #206 The  Hope this helps! | 
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hey all!
We are working with the ouster ROS2 driver and had a few questions about the packet timestamp and packet collection. The questions are as below:
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions