Ask Your Question
1

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

Comments

Can u elaborate the question..

ayush_dewan gravatar imageayush_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 imageTommyP ( 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 imagedgossow ( 2013-05-19 14:13:22 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

Comments

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 imageTommyP ( 2013-05-21 11:25:02 -0600 )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

Stats

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

Seen: 708 times

Last updated: May 21 '13