ros / ros_comm

ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).
http://wiki.ros.org/ros_comm
753 stars 911 forks source link

Fix latched topic not latched in splitted rosbags #2351

Closed Hugal31 closed 4 weeks ago

Hugal31 commented 1 year ago

When writing latched topics in new rosbags splits, the header was not stored, which lost the "latching" flag. Store the header in new splits to avoid this.

Closes #2350

pbelanger-avid commented 4 months ago

Hey, just wondering if there's anything in particular that's holding up this PR? My team recently ran into this same issue and arrived at the same fix. It would be great if this could be included, Thanks!