If I have a <Subtree ID="Sometree" blah="something_in_parent_bb" /> for example, and within <BehaviorTree ID="Sometree"> I have a node that in the constructor I call config().blackboard->debugMessage(), then I do not see item blah printed.
looking at the debugMessage source, it seems to only check internal_to_external_ if it has already found an entry in storage_
But im not sure under what circumstances we would expect to find an entry in storage_ as xml_parsing.cpp only calls addSubtreeRemapping in this case, placing an entry only in internal_to_external_.
Should I expect to see mapped keys in this case? If I was to change it to consult internal_to_external_ first, similar to getAny, are there other cases I need to take into account?
If I have a
<Subtree ID="Sometree" blah="something_in_parent_bb" />for example, and within<BehaviorTree ID="Sometree">I have a node that in the constructor I callconfig().blackboard->debugMessage(), then I do not see itemblahprinted.looking at the
debugMessagesource, it seems to only checkinternal_to_external_if it has already found an entry instorage_But im not sure under what circumstances we would expect to find an entry in
storage_as xml_parsing.cpp only callsaddSubtreeRemappingin this case, placing an entry only ininternal_to_external_.Should I expect to see mapped keys in this case? If I was to change it to consult
internal_to_external_first, similar togetAny, are there other cases I need to take into account?