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

This commit is contained in:
Bradley Bickford 2024-03-07 20:55:29 -05:00
parent 3cd75748cf
commit 6f0745986a

View File

@ -296,6 +296,6 @@ public class RobotContainer {
}
public Command getAutonomousCommand() {
return autoChooser.getSelected();
return drivetrain.zeroHeadingCommand().andThen(autoChooser.getSelected());
}
}