0
$\begingroup$

Rosanswers logo

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


Originally posted by Kenavera on ROS Answers with karma: 56 on 2015-12-07

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Got it working with

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

.


Originally posted by Kenavera with karma: 56 on 2015-12-07

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.