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

RViz won't refresh my TF tree

asked 2014-08-11 15:17:55 -0500

Neil Traft gravatar image

If I roslaunch something that broadcasts a TF, then launch RViz, I can visualize the TF in RViz. However, if I then restart the launch file, the new TF is not picked up. I need to also restart RViz to get the new TF.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-11 15:20:43 -0500

Neil Traft gravatar image

You need to restart RViz _whenever you start a new roscore_. RViz looks for a roscore upon startup. After that time, the roscore remains fixed.

This means that if you are using a launch file to launch everything, including the ROS Master, then whenever you relaunch the file you will also need to relaunch RViz. A better way to use RViz is to launch your roscore and RViz separately. Then you can keep them both open for the duration of your session.

edit flag offensive delete link more


Apparently I don't have enough points to accept my own answer, but I wanted to post this here for others.

Neil Traft gravatar image Neil Traft  ( 2014-08-11 15:22:01 -0500 )edit

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: 2014-08-11 15:17:55 -0500

Seen: 632 times

Last updated: Aug 11 '14