Closed drwnz closed 2 years ago
I confirmed the changes modified the timestamp in header even when use_gst_timestamps is true. before:
stamp:
sec: 1
nanosec: 655143410
frame_id: camera_frame
after:
stamp:
sec: 1655143667
nanosec: 434399126
frame_id: camera_frame
@jbohren @clydemcqueen the changes look good to me. What do you think?
LGTM. I tested this on Galactic and it works as expected. Thanks @drwnz for finding & fixing and @wep21 for moving this forward!
I noticed a few unrelated bugs in the README:
/Clyde
@clydemcqueen Thank you for confirming it. Could you create another PR to fix README?
@drwnz Thank you for fixing the bug.
I submitted a PR to fix the README.
Addresses #84 When
use_gst_timestamps
was is set totrue
, timestamps converted from the gstreamer buffer timestamps would be incorrect. This is a ROS2 specific issue, caused by no constructor forrclcpp::Time
which takes the time parameter in seconds as a float type.This PR:
use_gst_timestamps
to the readmeIt has been tested on Galactic. @wep21