Description
Is your feature request related to a problem? Please describe.
Hi we recently acquired the pro version and it is awesome!
but we were a little frustrated with live monitoring and the dependency of the publisher with a tree instance,
our use case utilizes an action server approach that sends different trees to the robot for execution,
causing groot2 to loose connection each time a new goal/tree is received and the publisher reset.
Furthermore the only time that you can connect now is after the tree instantiation, usually right after is the time to also run the tree unless you block it, so it is a race to connect and place your breakpoints.
Describe the solution you'd like
// now this is the only constructor
BT::Groot2Publisher publisher(tree, 5555);
// option to construct without tree
BT::Groot2Publisher publisher(5555);
publiser.setNewTree(tree);
publiser.clearTree();
About the breakpoints can you only place them at runtime in Groot2?
I think it would be a nice feature to be able to add them also in the XML (so the BT::Tree Leaf/Control Nodes must know them)
and have the option to run the tree with breakpoints or not.
I don't think that Groot2 monitoring should/could edit the xml breakpoints only add new ones at runtime.
Also in second there might not be a good way to do that with subehaviors unless you place them in the subehavior definitions and in the instances pass a parameter to use or not the breakpoints.
Additional context
PS : About the offline log replay ( is super useful ) , but Groot2 could not open .btlog files used by the BT::FileLogger2 only .db3 files from BT::SqliteLogger i manage to replay, is support for this coming soon?
Thanks a lot ,
Panagiotis Angelakis