ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Change RVIZ visualization_msgs/MarkerArray datatype

asked 2022-06-17 05:19:45 -0500

ALackOfNumbers gravatar image

updated 2022-06-18 04:00:31 -0500

gvdhoorn gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-06-19 21:36:04 -0500

fergs gravatar image

ROSBags have a migration option to update the bagfile to the latest message - this is probably the easier route than downgrading visualization_msgs & RVIZ. There is documentation on the ROS Wiki on how to run a migration.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-06-17 05:18:20 -0500

Seen: 68 times

Last updated: Jun 19 '22