Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debugMessage does not print parent values #408

Open
cmraaron opened this issue Aug 6, 2022 · 0 comments
Open

debugMessage does not print parent values #408

cmraaron opened this issue Aug 6, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@cmraaron
Copy link

cmraaron commented Aug 6, 2022

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?

@facontidavide facontidavide self-assigned this Sep 23, 2022
@facontidavide facontidavide added the bug Something isn't working label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants