Change RVIZ visualization_msgs/MarkerArray datatype
I am trying to play some old rosbags in RVIZ. The rosbags contain:
types:
geometry_msgs/PoseArray [916c28c5764443f268b296bb671b9d97]
sensor_msgs/LaserScan [90c7ef2dc6895d81024acba2ac42f369]
visualization_msgs/MarkerArray [90da67007c26525f655c1c269094e39f]
When I run the rosbags, and then open these topics in RVIZ, I get this error:
[ERROR] [1655460656.106322164]: Client [/rviz_1655460645750804236] wants topic /visualization_marker_array to have datatype/md5sum [visualization_msgs/MarkerArray/d155b9ce5188fbaf89745847fd5882d7], but our version has [visualization_msgs/MarkerArray/90da67007c26525f655c1c269094e39f]. Dropping connection.
I understand that this is because RVIZ is using a newer datatype version than the old rosbags. I cannot change the datatype recorded in the rosbags, so I have to downgrade the datatype RVIZ is using for the visualization markers. How can I do this?