rosbag2 playback rejects messages after type definition evolves
Symptom After recording a bag with rosbag2 using a message definition (e.g., geometry_msgs/msg/PoseStamped ), modifying that message type—such as adding a new field—and rebuilding the workspace causes playback to fail with a type hash mismatch. The bag stores serialized bytes and a type hash computed from the original definition; the new definition produces