Skip to content
Snippets Groups Projects
Commit c542ead0 authored by Johannes Mey's avatar Johannes Mey
Browse files

replace fixed with derived namespace

parent 55ee5385
Branches
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ namespace robot_state_provider {
// get the elements in the group
for (const auto &group: groups) {
std::map<std::string, std::string> element_topics{};
std::string key{"/panda_mqtt_connector" + elementType + group};
std::string key{n.getNamespace() + elementType + group};
if (!n.getParam(key, element_topics)) {
ROS_ERROR_STREAM("Unable to retrieve value for " << key);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment