We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ad9241 commit 745af36Copy full SHA for 745af36
nav2_costmap_2d/plugins/static_layer.cpp
@@ -151,12 +151,11 @@ StaticLayer::getParameters()
151
node->get_parameter(name_ + "." + "map_topic", private_map_topic);
152
node->get_parameter("map_topic", global_map_topic);
153
if (!private_map_topic.empty()) {
154
- // global_map_topic_ is already in parent namespace, so we only need to process
155
- // the local topic
156
- map_topic_ = joinWithParentNamespace(private_map_topic);
+ map_topic_ = private_map_topic;
157
} else {
158
map_topic_ = global_map_topic;
159
}
+ map_topic_ = joinWithParentNamespace(map_topic_);
160
node->get_parameter(
161
name_ + "." + "map_subscribe_transient_local",
162
map_subscribe_transient_local_);
0 commit comments