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

rviz run saved messages

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

Kenavera gravatar image

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

Hello,

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
1

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

Kenavera gravatar image

Got it working with

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

.

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 276 times

Last updated: Dec 07 '15