Skip to content

docs: clarify Precondition tick semantics - #1187

Open
ktyang512 wants to merge 1 commit into
BehaviorTree:masterfrom
ktyang512:docs/fix-precondition-tick-semantics-1177
Open

docs: clarify Precondition tick semantics#1187
ktyang512 wants to merge 1 commit into
BehaviorTree:masterfrom
ktyang512:docs/fix-precondition-tick-semantics-1177

Conversation

@ktyang512

Copy link
Copy Markdown

Summary

  • clarify that Precondition does not re-evaluate its condition while its child is running
  • explain that else="RUNNING" only causes repeated checks while the condition remains false and the child has not started
  • document _while and ReactiveSequence with ScriptCondition as alternatives for continuous evaluation

Fixes #1177

Validation

  • pre-commit run --files docs/pre_postconditions.md
  • related behavior tests: 5/5 passed
  • full test suite: 504/504 passed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Precondition Decorator documentation is unclear

1 participant