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

how to use kinect data without rviz or rgdslam

asked 2012-05-28 18:56:02 -0500

Brioche gravatar image

updated 2016-10-24 09:02:35 -0500

ngrennan gravatar image

Hello everyone, I'm a totally newbie in ros and qt, and I would like to make a GUI in QT with a window showing a pointcloud image and another window showing a normal image, and after I might try to add some control but my issue is that I really don't know which way I have to take. I've starting to do almost all the tutorials I found interesting for my purpose, and now I'm starting to read rviz code to understand how I can extract images from the kinect.

I've been looking for something like my idea everywhere but I didn't find anything. Should I continue to read rviz code? I'm kind of scared when I see all this lines...

Thanks for the help.

Cheers

(I'm using ros electric with ubuntu).

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
1

answered 2012-05-28 20:12:49 -0500

You should probably upgrade to fuerte, as rviz has been ported to QT and modularized with this new distro. The Librviz Tutorial looks like it is very relevant (and in parts similar) to what you describe.

edit flag offensive delete link more

Comments

Is there other tutorials that this one? because I didn't succeed to add a point cloud in my grid or when I add an Image Display, this one creates a new window...

Brioche gravatar image Brioche  ( 2012-07-16 21:35:21 -0500 )edit
0

answered 2012-05-29 15:50:15 -0500

Brioche gravatar image

Thank you guys for your quick answers. Stefan that's exactly what I would like to do, but I have to communicate with a ROS Electric, is it an issue? Trinighost I already knew it, but I need to do a GUI so to debug it's usefull but not for me at the end. I might try to do some Rviz at the beginning to see the point cloud from my kinect and maybe try to put the location of my system also in it.

Again thanks for your help

edit flag offensive delete link more

Comments

You should be able to communicate with electric nodes, provided the messages you use have not changed. If they changed, you'll get a md5 sum mismatch error and failed message transmission.

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2012-05-29 20:12:58 -0500 )edit
0

answered 2012-05-29 14:02:39 -0500

SL Remy gravatar image

Not sure what the UI is intended to do, but if you just want to view/present a view of the data you can use an image viewer like (rosrun image_view image_view image:=/camera/depth/image)

Now to be clear this is only a depth image (not a point cloud)

As always, rostopic list will show you all the topics that might be useful for you.

edit flag offensive delete link more
0

answered 2012-06-03 22:22:16 -0500

Brioche gravatar image

Hi,

I had some issues to use my kinect, now that I fixed them, I realised that implement rviz windows in my gui would only give me the possibility to interact with my image (not so usefull in my case).But could I just show different image such as /camera/depth/image and /camera/rgb/image and adding some other stuff (manual control or localisation on map) in my GUI?

I don't know if I'm clear, but I was thinking to use image_view to extract the data from my kinect and print it in my GUI in Qt... But when I read the code of image_view I realised that image_view was using Gtk...

Actually, I would like to develop something like rgbdslam but with other windows. Do you know if there is something already done?

Anyway thanks for your help

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-05-28 18:56:02 -0500

Seen: 636 times

Last updated: Jun 03 '12