find-object icon indicating copy to clipboard operation
find-object copied to clipboard

Find-Object shows nothing

Open doublexxking opened this issue 8 years ago • 1 comments

Hi there, I am trying to do 3D position of the objects with Kinect v2. I can compile iai_kinect2-master and find_object_2d in my work space. Then I want to follow the example on http://wiki.ros.org/find_object_2d#A3D_position_of_the_objects

After roslaunch kinect2_bridge kinect2_bridge.launch publish_tf:=true I got screenshot from 2017-06-19 15 10 44

It seems correct!

After roslaunch find_object_2d find_object_3d_kinect2.launch I got screenshot from 2017-06-19 15 15 41

Then i used image_view to check. It shows: screenshot from 2017-06-19 16 59 29

Does anyone know what the problem is or which part I miss? Any ideas are appreciated.!!! Thanks!!!

doublexxking avatar Jun 19 '17 19:06 doublexxking

Is your kinect calibrated? You are showing only raw rgb and depth topics. Make sure the topics subscribed by find_object are published:

$ rostopic hz /kinect2/qhd/image_color_rect
$ rostopic hz /kinect2/qhd/image_depth_rect
$ rostopic hz /kinect2/qhd/camera_info

cheers

matlabbe avatar Jun 25 '17 22:06 matlabbe