Skip to content
Snippets Groups Projects
Commit 4054acd4 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

parser collecting plugins everywhere

parent afadfc76
No related branches found
No related tags found
1 merge request!441Removed loading of packages from Problem
...@@ -517,12 +517,10 @@ void ParserYaml::parse() ...@@ -517,12 +517,10 @@ void ParserYaml::parse()
tags.push_back("ROS publisher"); tags.push_back("ROS publisher");
walkTreeR(it.n_, tags, "ROS publisher/" + it.type_ + " - " + it.topic_); walkTreeR(it.n_, tags, "ROS publisher/" + it.type_ + " - " + it.topic_);
} }
std::list<std::string> plugins; std::list<std::string> plugins, packages_subscriber, packages_publisher;
std::list<std::string> packages_subscriber, packages_publisher; for (auto pair : params_)
for (const auto& it : paramsSens_) if (pair.first.find("plugin") != std::string::npos and pair.first != "plugins")
plugins.push_back(it.plugin_); plugins.push_back(pair.second);
for (const auto& it : paramsProc_)
plugins.push_back(it.plugin_);
for (const auto& it : subscriber_managers_) for (const auto& it : subscriber_managers_)
packages_subscriber.push_back(it.package_); packages_subscriber.push_back(it.package_);
for (const auto& it : publisher_managers_) for (const auto& it : publisher_managers_)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment