From 0f0b3e7208110bd5c3627c8e6084be8922d5c161 Mon Sep 17 00:00:00 2001 From: Aarav Shah <91212@psdschools.org> Date: Wed, 19 Feb 2020 17:38:15 -0700 Subject: [PATCH] Changed formatting --- src/main/java/frc4388/robot/subsystems/Drive.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc4388/robot/subsystems/Drive.java b/src/main/java/frc4388/robot/subsystems/Drive.java index 9afa4c9..32ea707 100644 --- a/src/main/java/frc4388/robot/subsystems/Drive.java +++ b/src/main/java/frc4388/robot/subsystems/Drive.java @@ -84,7 +84,8 @@ public class Drive extends SubsystemBase { m_pigeon.configFactoryDefault(); resetGyroYaw(); - m_odometry = new DifferentialDriveOdometry(Rotation2d.fromDegrees(getHeading()), new Pose2d(0, 0, new Rotation2d())); + m_odometry = new DifferentialDriveOdometry( Rotation2d.fromDegrees(getHeading()), + new Pose2d(0, 0, new Rotation2d()) ); m_speedShift = new DoubleSolenoid(7,0,1); m_coolFalcon = new DoubleSolenoid(7,3,2); @@ -606,7 +607,7 @@ public class Drive extends SubsystemBase { * @param ticks The value in ticks to convert * @return The converted value in inches */ - public double ticksToInches(double ticks) { + public double ticksToInches(double ticks) { return ticks * DriveConstants.INCHES_PER_TICK; }