ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

rviz run saved messages

asked 2015-12-07 08:43:50 -0600

Kenavera gravatar image

updated 2015-12-07 09:01:31 -0600


I'm running a program that sends visualization messages, like the ones in the basic shape tutorial. While running the program I saved the messages with rostopic echo /visualization_marker > myfile.txt. I'm looking for a way to display thoose messages in rviz, is there such a way? I tried rostopic pub /visualization_marker visualization_msgs::MarkerArray -f myfile.txt, but i get ERROR: invalid topic type: visualization_msgs::MarkerArray. While rviz displays this is the topic type.

Kind regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-12-07 09:38:17 -0600

Kenavera gravatar image

Got it working with

rostopic pub /visualization_marker visualization_msgs/Marker -f myfile.YAML


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-12-07 08:43:50 -0600

Seen: 196 times

Last updated: Dec 07 '15