Skip to content

Pre condition is ignored by CoroActionNode #585

@OPerepadia

Description

@OPerepadia

I have the following tree:

<BehaviorTree ID="MainTree">
    <Sequence>
      <Teleop _skipIf="1"/>
    </Sequence>
</BehaviorTree>

The node Teleop has type CoroActionNode, and is executed regardless of whether _skipIf is set to 0 or 1.

However, if I specify the same pre condition for Sequence, it works, and Teleop node is not executed.

<BehaviorTree ID="MainTree">
    <Sequence _skipIf="1">
        <Teleop/>
    </Sequence>
</BehaviorTree>

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