The minor change from swerve_testing_part_3 that should fix field oriented coming out of auto
This commit is contained in:
1 parent
3cd75748cf
commit
6f0745986a
1 file changed
+1
-1
@@ -296,6 +296,6 @@ public class RobotContainer {
|
||||
}
|
||||
|
||||
public Command getAutonomousCommand() {
|
||||
return autoChooser.getSelected();
|
||||
return drivetrain.zeroHeadingCommand().andThen(autoChooser.getSelected());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user