Skip to content

Add onlyIf precondition - #821

Closed
lukicdarkoo wants to merge 2 commits into
BehaviorTree:masterfrom
SpesRobotics:feature-only-if
Closed

lukicdarkoo wants to merge 2 commits into
BehaviorTree:masterfrom
SpesRobotics:feature-only-if

Conversation

@lukicdarkoo

Copy link
Copy Markdown

Proposed implementation for #820

@facontidavide

Copy link
Copy Markdown
Collaborator

Thanks @lukicdarkoo! Superseded by #1261, which adds _onlyIf (with you as co-author). There, ONLY_IF is appended at the end of the PreCond enum, so the values of the existing preconditions don't change (ABI). It also fixes an issue in this version: _skipIf only worked if _onlyIf was present too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants