ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There was a conflict in parameter names. I've been trying to load costmap's static layer static_map parameters into move_base/global_costmap/static_map namespace , but there was a single static_map parameter already in /move_base/global_costmap.

Also, it's probably better not to put all used plugins into common_costmap parameters but into separate files (for local and global). What I did in global costmap's .yaml file was renaming namespace from static_map to static_layer (see question post)

global_costmap:
  plugins: 
    - {name: static_layer,       type: "costmap_2d::StaticLayer"}
  # ... other parameters

and then in move_base's .launch file:

      <rosparam file="$(find diff_drive_mapping_robot_navigation)/config/static_map_params.yaml"
                command="load"
                ns="global_costmap/static_layer" />

Hope it will somehow help someone and save his time.