Skip to content

Commit

Permalink
[#3] It really removed an o in the process
Browse files Browse the repository at this point in the history
  • Loading branch information
MattD8957 committed Oct 16, 2023
1 parent 195ed45 commit ec9f671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class RobotContainer extends LightningContainer {

private static final XboxController driver = new XboxController(ControllerConstants.DRIVER_CONTROLLER_PORT);

private static final AutonomousCommandFactory autoFactory = new AutonomousCommandFactory(drivetrain::getPose, drivetrain::resetOdometry, drivetrain.getDriveKinematics(),
private static final AutonomousCommandFactory autoFactory = new AutonomousCommandFactory(drivetrain::getVisionPose, drivetrain::resetOdometry, drivetrain.getDriveKinematics(),
AutonomousConstants.DRIVE_PID_CONSTANTS, AutonomousConstants.THETA_PID_CONSTANTS, AutonomousConstants.POSE_PID_CONSTANTS, drivetrain::setModuleStates, drivetrain);

@Override
Expand Down

0 comments on commit ec9f671

Please sign in to comment.