Ask Your Question
0

RViz won't refresh my TF tree

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

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
3

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

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

Comments

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

Neil Traft gravatar imageNeil Traft ( 2014-08-11 15:22:01 -0600 )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

Stats

Asked: 2014-08-11 15:17:55 -0600

Seen: 358 times

Last updated: Aug 11 '14