Ask Your Question

Not able to spawn basic shapes in rviz

asked 2016-01-06 10:15:46 -0500

arttp2 gravatar image

updated 2016-01-06 10:19:40 -0500

I am following the tutorial on rviz here

But i am not able to correct the TF global issue as in the screenshot. rviz

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-01-06 11:18:01 -0500

fsteinhardt gravatar image

updated 2016-01-06 13:29:46 -0500

Try changing the rviz 'Global Options' 'Fixed Frame' to my_frame.

In the tutorial you are sending the markers position in the frame my_frame, but rviz is set to display map, and if you have not set any transforms to connect the frame map to my_frame rviz can't calculate the markers position in the map frame.

And you need to add a markers display to rviz (maybe you have already done this, but i can't see it in your screenshot). Just follow the Tutorials Point '5. Viewing the Markers'.

To change the Fixed Frame: Open rviz, klick on map (on the text next to Fixed Frame) and just type the new frame name my_frame. I thought i could choose the frame from a list, but i just built the tutorial program and tried it, but i had to type the name my_frame.

Rviz is often hiding (or it is not recognizable) that you can edit a parameter like Fixed Frame.

I think you are trying to change the Fixed Frame in Global Status, where you get the warning message. Try changing the Fixed Frame under Global Options.

edit flag offensive delete link more


Marker Status is OK. Marker Topic is visualization_marker . But I don't understand how to modify Global Status-Fixed Frame to my_frame.

arttp2 gravatar image arttp2  ( 2016-01-06 11:59:57 -0500 )edit

As soon as i type my_frame and press enter, the text goes back to No tf data. Actual error: Fixed Frame [map] does not exist

arttp2 gravatar image arttp2  ( 2016-01-06 12:59:32 -0500 )edit

Thanks a lot!

arttp2 gravatar image arttp2  ( 2016-01-06 13:53:20 -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: 2016-01-06 10:15:46 -0500

Seen: 357 times

Last updated: Jan 06 '16