Skip to content

Success on selected#15

Merged
erichlf merged 3 commits intoconditionalfrom
success_on_selected
Apr 3, 2025
Merged

Success on selected#15
erichlf merged 3 commits intoconditionalfrom
success_on_selected

Conversation

@erichlf
Copy link
Collaborator

@erichlf erichlf commented Mar 28, 2025

This PR adds support for py_trees.common.ParallelPolicy.SuccessOnSelected.

Fixes #9

Motivation and Context

SuccessOnSelected required a list of children to be useful, but there was no method for reference children as parameters. This implements the ability to have such a parameter, but only for SuccessOnSelected.

Changes

  • Add support for SuccessOnSelected

Type of changes

  • New feature

Checklist

  • Update dependencies
  • Update version
  • Update README

Testing

  1. colcon build --packages-up-to py_trees_parser
  2. colcon test --event-handlers console_cohesion+ --packages-select py_trees_parser

@erichlf erichlf changed the base branch from humble to conditional March 28, 2025 08:38
@erichlf erichlf requested review from SyZbidi and dave992 March 28, 2025 08:39
@erichlf erichlf self-assigned this Mar 28, 2025
@erichlf erichlf added the enhancement New feature or request label Mar 28, 2025
@erichlf erichlf force-pushed the success_on_selected branch 2 times, most recently from 2fc3000 to 1e27dca Compare April 3, 2025 13:14
@erichlf erichlf force-pushed the success_on_selected branch from 1e27dca to 66f1048 Compare April 3, 2025 13:15
@erichlf erichlf merged commit cfc5593 into conditional Apr 3, 2025
1 check passed
@erichlf erichlf mentioned this pull request Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Parallel:OnSelected

2 participants