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

changed comment about subscribers check

parent fccba50a
No related branches found
No related tags found
2 merge requests!11new release,!10new release
...@@ -218,7 +218,7 @@ int main(int argc, char **argv) ...@@ -218,7 +218,7 @@ int main(int argc, char **argv)
if (pub->ready()) if (pub->ready())
pub->publish(); pub->publish();
// check subscribers (every second) // check that subscribers received data (every second)
if ((ros::Time::now() - last_check).toSec() > 1) if ((ros::Time::now() - last_check).toSec() > 1)
{ {
for (auto sub : wolf_node.subscribers_) for (auto sub : wolf_node.subscribers_)
......
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