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

kinect obstacle avoidance

asked 2015-04-24 21:17:19 -0500

dmngu9 gravatar image

I have done the segmentation in the point cloud and cluster in the point cloud. Now, I have to implement the obstacle avoidance. I wonder how can I find a good algorithm for path planning? Is there any PCL API can help me to do path opening (gap between 2 clusters).

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-05-01 10:37:22 -0500

updated 2015-05-03 10:38:42 -0500

Are you trying to plan a manipulator path between point cloud clusters, or are you trying to navigate a mobile robot between two obstacles?

If you're trying to plan a manipulator, use MoveIt and add collision objects to your scene that correspond to the location of the clusters. Your manipulator will automatically plan around them.

If you're trying to move a mobile robot, take a look into SLAM for automatic collision avoidance and mapping.

You should be able to use PCL to find the bounding boxes of two point clouds and then calculate the minimum distance between them. This would be your gap distance.

edit flag offensive delete link more

Comments

already done the bounding box. but it doesnt give me good result. especially, when i have a chair with a gap underneath, the box includes everything. its not a very optimal approach

dmngu9 gravatar image dmngu9  ( 2015-05-02 19:29:06 -0500 )edit

If your bounding box includes everything, then you're not looking for the distance between two clusters as you said above. I'm trying to answer the original question - a gap between two clusters.

As I said above, look into SLAM-based nav: http://wiki.ros.org/navigation/Tutorials

Adam Allevato gravatar image Adam Allevato  ( 2015-05-03 10:38:11 -0500 )edit
-1

answered 2015-05-02 01:41:58 -0500

dmngu9 gravatar image

Thanks for the reply. Mine is a 4 wheeled robot. I plan to calculate opening gap between objects. have you tried that approach before?

edit flag offensive delete link more

Comments

1

Please don't add comments as an "Answer." Use the comment feature below the answer you're responding to.

I edited my original answer.

Adam Allevato gravatar image Adam Allevato  ( 2015-05-02 09:28:23 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2015-04-24 21:17:19 -0500

Seen: 1,049 times

Last updated: May 03 '15