Groot icon indicating copy to clipboard operation
Groot copied to clipboard

Subtree Support for Replay Function

Open amndan opened this issue 6 years ago • 1 comments

When loading crossdoor_trace.fbl the subtree DoorClosed is displayed but the button collapse/expand is not visible. If clicking on the subtree-tab, i see an empty tree with only one root node. If switching back to main tab (*BehaviorTree) the subtree content is gone. Again switching between main- and subtree-tab leads to following exception:

terminate called after throwing an instance of 'std::logic_error' what(): subTreeExpand with SUBTREE_REFRESH, but not an expanded SubTree

I tried with latest master branch Versions (groot and bt) and with 1.0.0 (groot) --> bt branch here from submodule.

I tried to find a way through the code, which was not really successful. Is subtree functionality for replay function implemented yet? For me it sounds strange that the tab for the subtree is called "SubTree" and not "DoorClosed" after loading the flatbuffer file. Perhaps that helps to find the bug if there is one.

amndan avatar Oct 04 '19 16:10 amndan

I am not shure if the behavior described above depends on my setup. Therefore the question: Is there anyone else who encountered a problem while working with subtrees and the replay function of Groot?

amndan avatar Jan 08 '20 22:01 amndan