Groot
Groot copied to clipboard
realtime monitor - deque::_M_range_check:
Hello, I am trying to get the real-time monitor to work. i saw a similar issue that suggests a zmq publisher. PublisherZMQ publisher_zmq(tree);
do you have a complete example of this. i have tried adding into my init code, but i get the same issue.
edit: Ideally an example of how to use the publisher, if you have multiple instances of BT running. Would it be possible to switch between the trees. thank you
I have made some progress here. i believe i have the publisher part working. but when i try to connect using Groot i get this error message:
deque::_M_range_check: __n (which is 755)>= this->size() (which is 27)
any idea?
ping? anyone there?
No... Sorry, overwhelmed with other projects. I will try to get back to you... Eventually
Hello. I am experiencing the same issue. @kevincameronmtl Did you every make progress on this?
If you give me a way to reproduce this, I will be happy to, otherwise I have no bandwidth to investigate it.
I am completely overwhelmed by other projects. :(
@tgreier are you trying to implement a custom zmq connection to Groot?
@tgreier If I were you I'd make sure to compile the latest versions of BehaviorTree.CPP Groot and your project as a single meta-project on one machine.
for me simply adding BT::PublisherZMQ publisher_zmq( tree ); worked like a charm, so maybe you have a version mismatch or something?
If that doesn't work, make a sample project with a minimal tree functionality and ZMQ publisher, which results in an error for you. Maybe I can take a look and see if it works for me
My problem was caused by my BehaviorTreeEngine, where the manifest was not being copied from the factory to the Tree. Therefore there was no manifest data to load.