Ask Your Question
0

Rviz visualize only 2d shape

asked May 05 '11

cmsoda gravatar image cmsoda
31 1 4

Hi all, I am visualizing COLLADA mesh file in rviz sending a MESH_RESOURCE marker. Every time I try to visualize the mesh I just get a 2D shape. How can I visualize a 3D object? I see a warning on rviz "fixed frame [/plan] does not exist" but everything else seems fine. I used for example the mesh package://pr2_description/meshes/base_v0/base.dae but I can see only the shape and not a full 3d image with rviz. Best Regards

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered May 05 '11

tfoote gravatar image tfoote flag of United States
11130 27 85 172
http://www.ros.org/

You need to set the fixed_frame to a valid and connected frame_id for rviz to be able to render it in the scene. When meshes are not connected in the tf tree, rviz only displays the outline of the mesh at the origin.

link delete flag offensive edit

Comments

Ok, how do I set the fixed frame? In my marker I have defined in the header a frame_id="my_plane" should I set this as the fixed frame in rviz? Is this frame automatically connect? cmsoda (May 10 '11)edit
If the fixed frame is the same as the published frame it will be connected. See the rviz user guide http://www.ros.org/wiki/rviz/UserGuide for how to set the fixed frame tfoote (May 16 '11)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: May 05 '11

Seen: 139 times

Last updated: May 05 '11