frontier_exploration icon indicating copy to clipboard operation
frontier_exploration copied to clipboard

Footprint filter

Open paulbovbel opened this issue 10 years ago • 4 comments

Need to filter out goals that fall inside robot footprint, behaves poorly with some local planners.

paulbovbel avatar Feb 23 '15 15:02 paulbovbel

Yup, this needs to be done. Various times the local planner fails to produce a path to the frontier given and gives an error, leading to shutting down of the frontier exploration.

kushaagra avatar Jun 11 '15 06:06 kushaagra

We, a small group of students, are also affected by this bug.

We're willing to look into the code to see if we're able to fix this, but we don't have a lot of experience with coding for ROS - we're mostly just making different nodes work together for our project and frontier_exploration is one of the last few that sometimes fail to work as intended. Any pointers for where to look/how to implement this would be great.

Patagonicus avatar Jul 03 '15 18:07 Patagonicus

@Patagonicus, I would certainly appreciate any help you'd be willing to give. While I'm hoping to put some time aside for a thorough refactor, this behaviour could be fixed at the source:

https://github.com/paulbovbel/frontier_exploration/blob/indigo-devel/src/frontier_search.cpp#L146

This function should return false for any cells caught within the robot footprint.

paulbovbel avatar Jul 03 '15 21:07 paulbovbel

To that end, you may find the following functions useful:

http://docs.ros.org/jade/api/costmap_2d/html/classcostmap__2d_1_1Costmap2DROS.html#a8e23eef773096a1fca61ae038220070d

http://docs.ros.org/indigo/api/frontier_exploration/html/namespacefrontier__exploration.html#a9b90012ac183da448a95eec412936066

paulbovbel avatar Jul 03 '15 21:07 paulbovbel