Robotics StackExchange | Archived questions

Planning in unknown space: simulation vs reality

Hi,

I have implemented a navigation stack in stage. I want to prohibit the robot planning in unknown space, for this reason I set the following parameters:

commoncostmap: maptype: voxel trackunknownspace: true lethalcostthreshold: 100 unknowncostvalue: 255

globalplanner (NavFNros): allowunknown: false

Everything works fine, even if I don't understand why I have to set the maptype to voxel in order to prohibit the planning (i'm working with an Hokuyo laser scanner, so my immediate choice was to set maptype: costmap).

Running the navigation on a real robot I'm not able to issue any goal: the robot thinks to be always too close to obstacles: I get warning about clearing obstacles in the costmap and similar. It's not even capable of performing recovery rotation due to the presence of obstacles. Obviously there are no obstacles around the robot, it's exactly in the middle of the room. Looking at the costmap it's not inside any inflated obstacle radius.

As soon as I set trackunknownspace: false, everything starts working, but obviously I am not anymore preventing the plan into unknown regions.

Has someone experienced a similar behaviour and can help me ?

Thank you

Asked by alsora on 2017-05-19 10:53:40 UTC

Comments

duplicate: http://answers.ros.org/question/262219/how-to-track-unknown-space-using-navfnros/ please, avoid creating duplicate questions.

Asked by Procópio on 2017-05-24 10:59:37 UTC

Answers