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