HanwenCao/Frontier_Exploration

Trying to acess a non-existing frontier

Opened this issue · 1 comments

Often the planner tries to access non-existing frontiers on the array of available frontiers. As a consequence, the code crashes with the standard python message "list index out of bounds".

error_closed_space

According to our battery of tests, this issue happens often and in otherwise ideal conditions in which we should not observe such a problem. More specifically, the code was tested in a physical turtlebot attempting to map a square space with walls always within the range of the kinetic sensor and one opening (the theoretical goal of the robot).

img_1275

img_1276

img_1277

Hi Francolin, I am so sorry for the super late response. Yes, you were correct on that point. I sincerely thank you for pointing this bug out. It is noticed that you already got it done in your own repo. Thank you again for your comments.