ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Displaying a ground image in rviz?

asked 2013-05-19 01:59:16 -0600

TommyP gravatar image

I have an aerial image over an experimental area. What is the best way to show that image on the ground in rviz?

edit retag flag offensive close merge delete


Can u elaborate the question..

ayush_dewan gravatar image ayush_dewan  ( 2013-05-19 07:39:12 -0600 )edit

Well. Suppose I have an jpg image. How do I display it in the XY plane at X=0. I know that I can build an robot model and doing a mesh that uses the image as a texture and so on. But that seems to me to complicated... Especially since I cannot get mesh files with textures to work.

TommyP gravatar image TommyP  ( 2013-05-19 09:27:38 -0600 )edit

If it's grayscale, you could send it via an OccupancyGrid message and show it via the Map display.

dgossow gravatar image dgossow  ( 2013-05-19 14:13:22 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-05-21 03:25:25 -0600

felix k gravatar image

Unfortunately I haven't seen such a DisplayType yet. Two ideas:

  1. Code it yourself if you stand Qt. Personally I'd try to merge the image-subscribing code from Image-DT into the visualizing code from Map-DT.
  2. If your image is nearly static, the overhead of converting it into a flat point cloud and transferring it might be insignificant. If your graphics can render that.
edit flag offensive delete link more


Well, I kind of like QT but wanted to avoid having to understand the 3D code... The flat point cloud idea seems nice. I think I will test that and see how it looks.

TommyP gravatar image TommyP  ( 2013-05-21 11:25:02 -0600 )edit

Question Tools

1 follower


Asked: 2013-05-19 01:59:16 -0600

Seen: 1,182 times

Last updated: May 21 '13