Skip to content

Competition#14

Merged
tunapro1234 merged 6 commits into
stablefrom
competition
Feb 3, 2026
Merged

Competition#14
tunapro1234 merged 6 commits into
stablefrom
competition

Conversation

@tunapro1234
Copy link
Copy Markdown
Collaborator

No description provided.

tunapro1234 and others added 6 commits February 3, 2026 19:35
- Add PROBOT_WIFI_AP_CHANNEL macro (default 1, range 1-11)
- Display channel in serial output at startup
- Update examples to show channel usage

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add /getState endpoint returning robot phase and auto settings
- Add syncState() JS function to restore UI on page load
- Track autoStartMs in StateService for remaining time calculation
- UI now correctly shows robot state after reconnection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add runtime check: cancel autonomous when switch disabled mid-run
- Add cancelAuto command to driver station
- Lock autonomous switch during teleop/autonomous phases
- Add periodic state sync (1s interval) for header status updates
- Switch change now properly communicates with robot

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Only calculate remaining_ms when autonomous is still enabled
- Keep switch enabled during autonomous (for cancellation)
- Lock switch only during teleop
- Fix autoRemaining initialization based on switch state
- Handle autonomousEnabled=false in phase 2 display

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add PROBOT_WIFI_AP_SSID macro for custom network name
- Add PROBOT_WIFI_AP_SSID_NO_MAC_SUFFIX to disable MAC suffix
- Static assertions for SSID length validation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@tunapro1234 tunapro1234 merged commit 179a9ff into stable Feb 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant