Ask Your Question
1

Draw Image in rviz 3D visualization frame

asked 2012-08-08 07:33:29 -0500

CoderDude69 gravatar image

updated 2016-02-22 10:43:58 -0500

lucasw gravatar image

Hello,

i look for a simple way to display a static image in the 3D-visualization frame in rviz.

Is it possible to lay a image (a.e. a .png-File) over a plane marker? If yes, how it works?

if no, exist another way to realize it.

Thanks for your answer!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-11-06 06:31:01 -0500

lucasw gravatar image

How about making the image a texture on a flat plane created in Blender or similar, export it to dae then load it into rviz as a mesh resource marker?

http://wiki.ros.org/rviz/DisplayTypes/Marker#Mesh_Resource_.28MESH_RESOURCE.3D10.29_.5B1.1.2B-.5D

edit flag offensive delete link more
0

answered 2013-11-06 00:35:43 -0500

timster gravatar image

updated 2013-11-11 01:26:53 -0500

You could transform your png to occupancy grid format and publish it. http://wiki.ros.org/rviz/DisplayTypes/Map

I think you are restricted to 3 grey values (white, grey and black). But I don't know another way to do it.

UPDATE: Why not copy the image to a point cloud with the x, y and z coordinates set to lie in your plane?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-08-08 07:33:29 -0500

Seen: 6,296 times

Last updated: Feb 22 '16