Skip to content

Commit

Permalink
Merge pull request #466 from Purg/dev/fix-bag-from-frames-script
Browse files Browse the repository at this point in the history
Fix conversion of frames/videos to bag
  • Loading branch information
josephvanpeltkw authored Nov 1, 2024
2 parents b6f0f26 + 4b2460c commit f62d7d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ros/angel_utils/scripts/convert_video_to_ros_bag.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ def convert_video_to_bag(
bag_writer.write(
output_image_topic,
serialize_message(image_msg),
image_msg.header.stamp.nanosec,
# Time position of this message in nanoseconds (integer).
int(frame_rel_ts * 1e9),
)
except Exception as err:
# Truncating the error message because it printed out the whole image_msg input
Expand Down

0 comments on commit f62d7d4

Please sign in to comment.