ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
@kllysin Hello! did you manage to figure this out? A few things that came to my mind after reading this, let me know if these match to what your solution was :
In the global costmap params, to my knowledge if you want to add a known map as a layer to the global costmap you need to specify it as a plugin apart from setting the static_map parameter to true as follows :
plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
Then you can also choose from the static map layer parameters from http://wiki.ros.org/costmap_2d/hydro/staticmap that you want to specify in the global costmap params too. This is especially important because you need to point your static layer to listen to the right topic wherever your known map is getting published. Sample :
static_layer: map_topic: /my_topic_name
2 | No.2 Revision |
@kllysin Hello! did you manage to figure this out? A few things that came to my mind after reading this, let me know if these match to what your solution was :
In the global costmap params, to my knowledge if you want to add a known map as a layer to the global costmap you need to specify it as a plugin apart from setting the static_map parameter to true as follows :
plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
Then you can also choose from the static map layer parameters from http://wiki.ros.org/costmap_2d/hydro/staticmap that you want to specify in the global costmap params too. This is especially important because you need to point your static layer to listen to the right topic wherever your known map is getting published. Sample :
static_layer: - map_topic: /my_topic_name
3 | No.3 Revision |
@kllysin Hello! did you manage to figure this out? A few things that came to my mind after reading this, let me know if these match to what your solution was :
In the global costmap params, to my knowledge if you want to add a known map as a layer to the global costmap you need to specify it as a plugin apart from setting the static_map parameter to true as follows :
plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
Then you can also choose from the static map layer parameters from http://wiki.ros.org/costmap_2d/hydro/staticmap that you want to specify in the global costmap params too. This is especially important because you need to point your static layer to listen to the right topic wherever your known map is getting published. Sample :
static_layer: -static_layer: map_topic: /my_topic_name