Ask Your Question

kinect obstacle avoidance

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

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

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

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

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


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 -0600 )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:

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

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

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



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 -0600 )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: 2015-04-24 21:17:19 -0600

Seen: 909 times

Last updated: May 03 '15