Ask Your Question

Arbitrary Marker in Rviz

asked 2012-02-08 11:34:42 -0500

David Lu gravatar image

Is there any way to put a marker at an arbitrary pose in RViz? What I want to be able to do is put a marker at some xyz in some coordinate frame WITHOUT having to write code. I know I could put a marker there with code

My current method is to create a Grid, which allows you to specify a base frame and offset, but that's hardly efficient.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-02-08 12:37:12 -0500

joq gravatar image

updated 2012-02-08 23:58:12 -0500

You can certainly place a marker wherever you like. But, something has to publish it with its position.

What is the requirement for not writing code?

EDIT: To check tf calculations without writing additional code, you can use the TF display in rviz.

edit flag offensive delete link more


I just want to be able to check within RViz. Let's say I have a node that does a TF calculation for me, and it prints out the numbers for where a certain point is. I could change the dependencies of my package to publish a marker, OR I could just throw the point in RViz and see if it matches up.
David Lu gravatar image David Lu  ( 2012-02-08 14:33:02 -0500 )edit
Perhaps a simple node that reads a frame_id and point from the keyboard, and publishes a marker there? Admittedly, it's a bit crufty, but it should accomplish what you want to do.
Bill Smart gravatar image Bill Smart  ( 2012-02-08 15:38:47 -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


Asked: 2012-02-08 11:34:42 -0500

Seen: 191 times

Last updated: Feb 08 '12