Skip to content

debugMessage does not print parent values #408

Open
@cmraaron

Description

@cmraaron

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?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions