-
Notifications
You must be signed in to change notification settings - Fork 130
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
Added filtering for buildAutoSendable() #726
Conversation
SendableChooser references a map of all of the auto commands Filter provides access to auto command (const) and auto's path Allows multiple SendableChooser Allows commands to be updated to latest in pathplanner/auto directory (regenerateSendableReferences()) Provided wiki info for filtering
Make sure that regenerateSendableReferences() isn't called every time buildAutoChooser() is called Change map of commands key to path instead of string Make sure that wiki on directory filter is correct
Hopefully allows to compile on all platforms
Out of curiosity, what's the use case for the |
Initially, it generates the If a team uploads new autos or modifies autos without deploying (like filezilla), they can use The map in question: pathplanner/pathplannerlib/src/main/native/include/pathplanner/lib/auto/AutoBuilder.h Line 205 in 91a976d
Also got another commit, the directory filter example isn't correct. |
Could you remove the
trigger for the |
SendableChooser references a map of all of the auto commands
Filter provides access to auto command (const) and auto's path
Allows multiple SendableChooser
Allows commands to be updated to latest in pathplanner/auto directory (regenerateSendableReferences())
Provided wiki info for filtering