Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditional Command group and Wait Until with Named Conditionals #923

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

HenryLeC
Copy link

@HenryLeC HenryLeC commented Dec 6, 2024

Conditional command groups are interesting additions to Autos that will allow for conditionally changing pathing if a game piece was not picked up for example.
Wait until commands will allow for running a path until some condition is met. This could be used for running a specific path along a line of gamepieces while trying to pick them up until a gamepiece is detected in the robot.

NamedConditions are very similar to NamedCommands in the GUI and libraries

Example auto mode using wait until and conditional group
image

@github-actions github-actions bot added GUI Changes to the PathPlanner GUI PathPlannerLib Changes to PathPlannerLib labels Dec 6, 2024
@HenryLeC
Copy link
Author

HenryLeC commented Dec 7, 2024

Fixes #609

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI Changes to the PathPlanner GUI PathPlannerLib Changes to PathPlannerLib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants