Skip to content

[retry_node] Refresh max_attempts_ in case it changed in one of the child nodes#905

Merged
facontidavide merged 1 commit into
BehaviorTree:masterfrom
doisyg:retry_node_refresh_max_attempts
Jan 10, 2025
Merged

[retry_node] Refresh max_attempts_ in case it changed in one of the child nodes#905
facontidavide merged 1 commit into
BehaviorTree:masterfrom
doisyg:retry_node_refresh_max_attempts

Conversation

@doisyg
Copy link
Copy Markdown
Contributor

@doisyg doisyg commented Dec 27, 2024

This PR modifies the retry_node "RetryUntilSuccessful" to refresh its variable max_attempts_ from its port inside the while loop.
This is need in order to not be out of sync with the blackboard variable in case it has been modified by one of the child of the retry_node node.

@facontidavide facontidavide merged commit 17a9c35 into BehaviorTree:master Jan 10, 2025
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.

2 participants