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

Implemented abstract pipeline design

This commit is contained in:
Simon Rasmussen
2017-01-29 04:18:13 +01:00
parent 9ca8836242
commit c42bdc4075
5 changed files with 1622 additions and 0 deletions

23
src/pipeline.cpp Normal file
View File

@@ -0,0 +1,23 @@
#include "ur_modern_driver/queue/readerwriterqueue.h"
using namespace moodycamel;
using namespace std;
class UR2ROSRelay {
private:
URReciever reciever;
URParser parser;
BlockingReaderWriterQueue<unique_ptr<URMessage>> queue;
ROSConverter converter;
ROSPublisher publisher;
public:
UR2ROSRelay(string &host, int port) : reciever{host, port} { }
void run() {
}
};