Unknown cell as a goal in Navigation stack with Gmapping [closed]
I know that there is already the question about this in How to set unknown pixel as goal in move_base. That question's owner successfully did it by not using static map. However, that means the robot will not use the updated map from Gmapping in navigating, it will use rolling windows as local_planner use. This is not the answer I want. I want the robot be able to really navigate to unknown cell with the map from Gmapping.
Some has suggested to set "navfn/allow_unknown" to true. I have already set it but the robot is still unable to compute a path to the unknown cell goal. I would be very appreciate if someone know how to do this. Thank you!
I suffer from the same issue. I really don't get where the problem might be. I even looked at the code in gmapping that creates the map and it sets unknown areas to -1 (which is the same as 255 for unsigned 8 bit). navfn then checks for 255 and allow_unknown when it processes the map. it should work
Is there nobody using this combination? Or am I doing something wrong somewhere?
Hey PanNurZeal! Have you managed to accomplish it? I've tried using rolling windows and finally eliminate all errors but it doesn't create a path! I can view the unknown cells without a problem and can command the robot with proper path planning when using move_base_simple/goal as the navgoal topic
Just to clarify, are you gmapping and doing navigation at the same time, with the map-being-created being used as the static_map in move_base?
Yeah I'm using GMapping and applying the navigation node at the same time. I've tried static_map = true for global costmap but it seems to be providing me with errors. But for static_map = false, no errors are found
Maybe start up a new question so that you can provide more information.
Actually already did..but still stuck :( http://answers.ros.org/question/65564/how-to-navigate-to-unknown-space-in-costmap/ here's the link
@barrybear, I have the same problem, please help if you have found an answer!