ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

RoboEarth - Distance of Detected Object

asked 2012-05-26 03:34:58 -0500

AksatShah gravatar image

updated 2016-10-24 08:59:47 -0500

ngrennan gravatar image


I am trying to use RoboEarth to detect some objects. Once I've detected the object I wanted to know the distance to this object but am unsure how to obtain this information. Does anyone know how I can do this? The tutorial page for detecting objects says: "Also, a new tf transformation is published that specifies the objects estimated position." so I am assuming it is possible to get the distance?

Running rostopic list at runtime will give:


Any help is much appreciated.

Thank You

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-28 22:28:53 -0500

ddimarco gravatar image

The detected pose of the object is published as a tf transformation named "OBJECTCLASS.OBJECTNAME", as written on this page.

edit flag offensive delete link more


Thanks ddimarco. In the end I just wrote a subscriber which subscribed to the re_kinect/detection_results topic and filtered out only the points3d data..Then by getting the max and min values of each x,y,z I could get the box around the object. Thank you for the help!!

AksatShah gravatar image AksatShah  ( 2012-06-07 05:16:44 -0500 )edit

Thanks ddimarco

AksatShah gravatar image AksatShah  ( 2012-06-07 05:16:48 -0500 )edit

Thanks ddimarco

AksatShah gravatar image AksatShah  ( 2012-06-07 05:16:51 -0500 )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


Asked: 2012-05-26 03:34:58 -0500

Seen: 329 times

Last updated: May 28 '12