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

Add SendableChooserCommand #7340

Open
spacey-sooty opened this issue Nov 4, 2024 · 1 comment
Open

Add SendableChooserCommand #7340

spacey-sooty opened this issue Nov 4, 2024 · 1 comment
Labels
component: command-based WPILib Command Based Library type: feature Brand new functionality, features, pages, workflows, endpoints, etc.

Comments

@spacey-sooty
Copy link
Contributor

No description provided.

@Starlight220
Copy link
Member

The implementation should be quite simple: accepting a Map<String, Command>, putting the keys in SendableChooser and the commands in a SelectCommand

Alternatively, the value type can be Supplier<Command> and schedule the command independently.

@calcmogul calcmogul added type: feature Brand new functionality, features, pages, workflows, endpoints, etc. component: command-based WPILib Command Based Library labels Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: command-based WPILib Command Based Library type: feature Brand new functionality, features, pages, workflows, endpoints, etc.
Projects
None yet
Development

No branches or pull requests

3 participants