1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 10:00:48 +02:00

Minor pipeline improvements

This commit is contained in:
Simon Rasmussen
2017-03-01 12:39:04 +01:00
parent 88c582cd58
commit d778559894

View File

@@ -49,15 +49,15 @@ private:
for (auto& p : products) {
if (!_queue.try_enqueue(std::move(p))) {
LOG_ERROR("Pipeline owerflowed!");
LOG_ERROR("Pipeline producer owerflowed!");
}
}
products.clear();
}
_producer.teardown_producer();
//todo cleanup
LOG_DEBUG("Pipline producer ended");
_consumer.stop_consumer();
}
void run_consumer()
@@ -75,8 +75,8 @@ private:
break;
}
_consumer.teardown_consumer();
//todo cleanup
LOG_DEBUG("Pipline consumer ended");
_producer.stop_producer();
}
public: