FRCTeam3044 / 2024SwerveBase

Swerve Code for 2024 - Crescendo
Other
1 stars 0 forks source link

I believe this is somehow the culprit of the overrun #67

Open DavidDePauw1 opened 8 months ago

DavidDePauw1 commented 8 months ago

https://github.com/FRCTeam3044/2024SwerveBase/blob/5e8ef305a9e9f302f570e89d389ac96e0f5defe9/src/main/java/frc/robot/commands/auto/GoToShootingZone.java#L41

@nab138 I searched both this repo and oxplorer, and this is the only instance of using a sequence command that I can find. I remember that a sequential group execute step was taking about half a second from the data of one of the overruns, so I'm guessing one of these commands is causing the issue. Do we need to travel to the nearest point on the shooting zone? Can we simplify this by removing this sequence and just having the bot travel to a point while checking if it is currently in the zone instead?

nab138 commented 8 months ago

The updated code is on the LEDs branch, I believe I am doing that aleeady