The minor change from swerve_testing_part_3 that should fix field oriented coming out of auto

This commit is contained in:
Bradley committed 2024-03-07 20:55:29 -05:00
1 parent 3cd75748cf
commit 6f0745986a
1 file changed
+1 -1
+1 -1
View File
@@ -296,6 +296,6 @@ public class RobotContainer {
} }
public Command getAutonomousCommand() { public Command getAutonomousCommand() {
return autoChooser.getSelected(); return drivetrain.zeroHeadingCommand().andThen(autoChooser.getSelected());
} }
} }