Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
Merge Hotfix #1
Browse files Browse the repository at this point in the history
Fixed compile time bugs in Drivetrain
  • Loading branch information
Aidan-B1409 committed Jan 14, 2019
1 parent d4b722d commit 44fd1fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/Drivetrain.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public double getPigeonYaw() {
return ypr[0];
}

public static void resetGyro2(){
public void resetGyro2(){
gyro2.setYaw(0);
gyro2.setAccumZAngle(0);
gyro2.enterCalibrationMode(PigeonIMU.CalibrationMode.BootTareGyroAccel);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public void run(){
SmartDashboard.putNumber("Right Encoder", subsystems.drivetrain.getRightEncoderPos());
SmartDashboard.putNumber("Left Velocity", subsystems.drivetrain.getLeftEncoderVel());
SmartDashboard.putNumber("Right Velocity", subsystems.drivetrain.getRightEncoderVel());

}
}

0 comments on commit 44fd1fd

Please sign in to comment.