-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Goal:
Refactor the startup and drive logic to support dynamic settings changes during runtime.
Trigger:
When the user presses the Down button 3 times consecutively, a settings panel should open.
Settings Panel Options:
Display options either on:
the VEX Controller screen (preferred), or
the VEX Brain screen (if controller display is not feasible).
✅ Requirements:
Detect triple-down input
Implement logic to track 3 consecutive "Down" button presses with a short time window (e.g. 1.5s).
Reset counter if time between presses exceeds the window.
Display a settings panel
Show a simple menu with changeable runtime settings (e.g., drive speed, mode toggle).
Panel can be shown on either:
Controller screen (fallback)
Brain screen (normal)
Integrate with drive control
The drive logic should read from the updated settings in real-time.
Ensure no need to restart the program to apply changes.
Maintain compatibility
Keep existing functionality intact unless superseded.
Ensure code readability and modularity (use functions or classes where possible).
📂 Repository Context:
Please scan the repo structure to identify:
Where startup and drive logic are currently located.
Existing display/UI code for either controller or brain.
💡 Suggestions (optional, if you suggest an improvement to this design):
Recommend better input methods if triple-down isn't reliable.
Metadata
Metadata
Assignees
Labels
Projects
Status