In this article
allow_unknown admits an unknown cell at a high traversable internal cost; it does not turn the source map cell into measured free space.
A returned route does not describe observation coverage
A mobile platform receives a route across an unmapped part of a warehouse. Enabling allow_unknown explains why the search can consider that region, but it does not explain its relative desirability. Treat the source-map class and the planner internal cost as separate records. Otherwise a visualization that colors every accepted route identically can conceal whether the route follows observed free floor or explores cells for which the map still lacks information.
Inspect the ROS conversion branch
In the inspected NavFn implementation, the ROS-map conversion starts a cell at the forbidden internal cost. Ordinary traversable input costs are transformed using COST_NEUTRAL and COST_FACTOR. The unknown-input branch is separate: when allow_unknown is enabled it assigns COST_OBS minus one. That value falls below the forbidden threshold, allowing propagation, but it is not the neutral cost used for an ordinary free input cell. These are conversion rules, not measured physical risk estimates.
Do not interchange the cost alphabets
The NavFn header declares distinct constants for ROS unknown input, the internal forbidden threshold and neutral open-space cost. Similar-looking obstacle values across representations can therefore mislead an adapter. Keep decoded input classes alongside the converted array during diagnosis. Do not manually replace unknown cells with free input merely to obtain a route and then describe the result as equivalent to enabling allow_unknown. That modification changes the cost field as well as the permission to search.
Compare controlled maps without moving hardware
A proposed fixture uses an interior start and goal with an observed-free detour and a competing unknown corridor. Keep map size, obstacle layout, resolution and planner mode fixed while changing only the unknown policy. Also include a case where no observed-free connection exists. Inspect converted costs and search outcome rather than predicting a universal route: length, surrounding costs and the particular search configuration affect which accepted path wins. No timing or navigation performance is inferred from this construction.
Make route provenance inspectable
Acceptance evidence should retain source map revision, unknown policy, planner identity, converted representative cells and the returned path. Label which path samples intersect unknown source cells before later maps overwrite that classification. A failure to find a path with unknown disabled may be expected policy behavior. Conversely, success with unknown enabled should trigger the application’s exploration and sensing rules rather than an unsupported assertion that perception has verified the whole route.
Bound the claim to search semantics
This analysis concerns the inspected main-branch conversion, not every Nav2 planner or a proof of traversability. Body clearance and live obstacle handling remain separate. The Habitat mesh guide explains another representation-dependent path query; the R2R guide explains why route success needs its action-space context. A defensible NavFn report says that a policy admitted specific unknown cells with a particular cost treatment, while their observation status remained unknown.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.