Open panagelak opened 1 year ago
I understand your point of view, but changing tree frequently at runtime is not the recommended way to use BT.CPP.
Said that it is for sure possible to do better. I will consider an improvement of the Groot2 publisher.
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
In am not sure about this. The idea is that your executor should be agnostic and don't know beforehand about Groot.
About compatibility with .btlog, latest version 0.9.0 should have that. If you have problems, let me have a sample file and I will try to fix the issue
yes no problem with 0.9.0 : )
about the breakpoints i agree but can be made hidden/optional to the user, perhaps if it is needed by many people an exception can be made.
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
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