Ask Your Question
0

Is there a way to invalidate a Pose in rviz?

asked Apr 05 '11

baxelrod gravatar image baxelrod
396 2 9 16

I often publish a Pose message to quickly and easily view things in rviz. And I would like a way to programatically (through a message) tell rviz to delete the pose from view.

The scenario is that I have a robot which grabs objects on a table. And I want to display the pose of the object in rviz. I do several runs with different objects and positions. So between runs I would like to clear the previous runs from view. This is easy to do with rviz markers, but not with regular Pose messages.

I have tried publishing with a 0 time stamp and empty frame_id with no luck in deleting the frame. I have observed tf frames becoming gray and disappearing, how is that done?

Can a new marker type be added to display axes?

delete close flag offensive retag edit

3 Answers

Sort by » oldest newest most voted
0

answered Apr 05 '11

joq gravatar image joq
7304 29 68 133
http://www.austinrobot.co...

You could publish an arrow marker, instead.

link delete flag offensive edit

Comments

Or a triplet of arrows as your axis. tfoote (Apr 06 '11)edit
1

answered Nov 16 '11

hersh gravatar image hersh
646 4 9 14

As suggested by the other answers, there is no way to do it exactly as you requested.

However, if you simply re-publish the pose with giant values, like xyz = 99999,99999,99999, it will effectively become invisible.

link delete flag offensive edit
0

answered Apr 06 '11

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated Apr 06 '11

Martin Günther gravatar image Martin Günther flag of Germany
2928 17 39 63
http://www.inf.uos.de/mgu...

I have observed tf frames becoming gray and disappearing, how is that done?

That's controlled by setting the "Frame Timeout" property for the TF Display inside RViz. I'm afraid that won't help you solve your problem.

link delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Apr 05 '11

Seen: 86 times

Last updated: Nov 16 '11