How to edit behavior tree ports properly?

asked 2022-11-14 02:18:18 -0500

Kevin1719 gravatar image

I'm using behavior tree cpp version 3 on my robot. I have some XML files which define modes for robot. For example:

<BehaviorTree ID="BehaviorTree">
    <Sequence>
        <Action ID="Move" status="{robot_status}" />
    </Sequence>
</BehaviorTree>

Currently, if I want to remove or add a port, I need to edit in every XML files that use the Move action node, which is exhausting, is there a better way to do the job?

edit retag flag offensive close merge delete