ros-drivers / gscam

ROS Camera driver for GStreamer-based video streams.
136 stars 172 forks source link

Incorrect time conversion when using gstreamer buffer timestamps #84

Closed drwnz closed 2 years ago

drwnz commented 2 years ago

In the ros2 branch: When use_gst_timestamps is set to true, timestamps converted from the gstreamer buffer timestamps are incorrect. The seconds field of the resulting image message header timestamps is 0 or 1, and the nanoseconds field is also incorrect.

This was noted when using GScam with Galactic.

drwnz commented 2 years ago

Fixed by #83 .