Add a first_map_only parameter so we keep reusing the first received static map.
We need this for a rather exotic case: when using https://github.com/robotics-in-concert/rocon_multimaster/tree/hydro-devel/rocon_gateway, the first time we subscribe we get the map, but not in subsequent subscriptions due to clearing costmaps.
An easier solution is just to call shutdown in the map subscriber, but we still have a big delay until receiving the map, so this flag is much better option.
I didn't verify that it doesn't interfere with map updates (because is the first time I see this feature). Appart from this, we have the change running happily in our robots.
Temptative fix for issue #148, but I feel like I'm breaking an improvement instead of fixing a bug!
Merge remote-tracking branch 'ros-planning/hydro-devel' into hydro-devel
Fix to issue #137 for a explanation of this horrible hack
Issue #137 better fix; mutual exclusion with seen_ array rebuilding on InflationLayer::matchSize method
improve error notification
patching to load global costmap properlly on initialization. See ros-planning/navigation#187
sync with upstream
Merge branch 'hydro-devel' of https://github.com/yujinrobot/navigation into hydro-devel