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

How to get clusters location in tabletop_object_detector ?

asked 2014-08-11 05:17:02 -0500

Haitham El-Hussieny gravatar image

Hello, I used tabletop_object_detector correctly in my own node and call the segmentation service and get the cluster size correctly. Now I need to get the location in XYZ of the segmented objects (clusters) but I don't know how.

Note: I use the segmentation node only without recognition facility.

Regards,

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-08-11 12:42:39 -0500

hsiao gravatar image

The segmentation service just returns the points in the cluster. If you want a representative 'location' for the clusters, you might find the bounding box and use that. This service, for instance, can give you a bounding box based on 2-D PCA (z-axis is up, like you probably want on a table). (You want the non-3d version for table objects.)

https://github.com/ros-interactive-ma...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-08-11 05:17:02 -0500

Seen: 121 times

Last updated: Aug 11 '14