team401 / 2024-Robot-Code

Competition code for our 2024 robot
Other
7 stars 0 forks source link

Add even better autos for VAFAL #161

Closed aidnem closed 8 months ago

aidnem commented 8 months ago

Purpose The purpose of this addition is to make better, faster, and higher scoring autos for Falls Church.

Auto Options

jkleiber commented 8 months ago

@redPlover we should load all our auto paths in the CommandSwerveDrivetrain constructor rather than lazy loading a path at auto init. We can maintain a HashMap of PathPlannerAutos based on the auto chooser keys and then send the relevant command with getAutoCommand at auto init. This will help with our delay problems because file loading takes a non-trivial length of time.

Also they just released a path planner update that has some warmup commands we can run in disabled mode. Let's try pulling those in as well