diff --git a/package.xml b/package.xml index 661304a..1b1fb61 100644 --- a/package.xml +++ b/package.xml @@ -52,18 +52,21 @@ actionlib actionlib_msgs behaviortree_cpp_v3 + libzmq3-dev roscpp std_msgs move_base_msgs actionlib actionlib_msgs behaviortree_cpp_v3 + libzmq3-dev roscpp std_msgs move_base_msgs actionlib actionlib_msgs behaviortree_cpp_v3 + libzmq3-dev roscpp std_msgs move_base_msgs diff --git a/src/main.cpp b/src/main.cpp index 5de6797..1ec22f0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -8,6 +8,7 @@ #endif #include #include +#include using namespace BT; @@ -37,6 +38,9 @@ int main(int argc, char **argv) { // object "tree" goes out of scope, all the TreeNodes are destroyed auto tree = factory.createTreeFromFile(xml_filename); + // ZMQ server for Groot + auto publisher_zmq = std::make_shared(tree, 10, 1666, 1667); + // Create a logger StdCoutLogger logger_cout(tree);