Skip to content

Conversation

@MGross21
Copy link
Member

@MGross21 MGross21 commented Dec 9, 2025

Data transfer system

  • Added OpModeDataTransfer helper for JSON-based save/load/clear of robot state and custom data.
  • Introduced OMDT structure to hold bot state and arbitrary key-value data.
  • Updated BaseOpMode to automatically save data at end of autonomous, load at start of teleop, and clear stale data.

Testing

  • Added TestAutoDataTransfer and TestTeleopDataTransfer OpModes to demonstrate and validate state transfer.
  • Added FileTransferTest unit tests covering serialization, deserialization, mutability, and timestamp behavior.

Alliance color updates

  • Renamed AllianceColor.NEUTRAL to AllianceColor.NONE and updated all references.

Supporting infrastructure

  • Added Period enum to cleanly distinguish AUTO, TELEOP, and NONE.

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