Skip to content
This repository was archived by the owner on Jan 24, 2026. It is now read-only.

Pre-initialize autonomous Procedure#23

Merged
rcahoon merged 6 commits into
mainfrom
rcahoon/auton-init
Jan 23, 2025
Merged

Pre-initialize autonomous Procedure#23
rcahoon merged 6 commits into
mainfrom
rcahoon/auton-init

Conversation

@rcahoon
Copy link
Copy Markdown
Member

@rcahoon rcahoon commented Jan 14, 2025

Description

Instantiate the autonomous mode Procedure while the robot is still in disabled mode, rather than waiting for autonomous mode to be enabled. This means that expensive initialization (such as deserializing path files) doesn't delay the start of the autonomous routine.

Original 2024 PR: Team766/2024#136

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Be detailed so that your code reviewer can understand exactly how much and what kinds of testing were done, and which might still be worthwhile to do.

  • Unit tests: Unit tests for new functionality are included
  • Simulator testing: [Add your description here]
  • On-robot bench testing: [Add your description here]
  • On-robot field testing: [Add your description here]

@rcahoon rcahoon requested a review from rajitzg January 21, 2025 01:00
@rcahoon rcahoon requested a review from dejabot January 21, 2025 01:00
Comment thread src/main/java/com/team766/framework3/AutonomousModeStateMachine.java Outdated
@rcahoon rcahoon merged commit 2f8267d into main Jan 23, 2025
@rcahoon rcahoon deleted the rcahoon/auton-init branch January 23, 2025 07:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants