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

implemented and working

parent fe06df04
No related branches found
No related tags found
1 merge request!378Resolve "Subscribers parmeters in YAML"
Pipeline #5644 passed
......@@ -24,14 +24,14 @@ class ParserYAML {
};
struct SubscriberManager{
std::string package_;
std::string subscriber_;
std::string type_;
std::string topic_;
std::string sensor_name_;
YAML::Node n_;
};
struct PublisherManager{
std::string package_;
std::string subscriber_;
std::string type_;
std::string topic_;
std::string period_;
YAML::Node n_;
......
......@@ -475,6 +475,12 @@ void ParserYAML::parse()
tags.push_back("processor");
walkTreeR(it.n_, tags, "processor/" + it.name_);
}
for (auto it : subscriber_managers_)
{
std::vector<std::string> tags = std::vector<std::string>();
tags.push_back("ROS subscriber");
walkTreeR(it.n_, tags, "ROS subscriber/" + it.topic_);
}
std::list<std::string> plugins;
std::list<std::string> packages_subscriber, packages_publisher;
for (const auto& it : paramsSens_)
......
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