From: EvanYap Date: Tue, 9 Feb 2016 04:07:23 +0000 (-0800) Subject: Make convert method to get Z axis in Degrees per second regarding short MAX and MIN... X-Git-Url: http://challenge-bot.com/repos/?a=commitdiff_plain;h=bff991abfabf75630f6ac3391d02a2fc68a4322e;hp=71d7369073343637bc6d599a2ee5318f0ba1ba47;p=3501%2Fstronghold-2016 Make convert method to get Z axis in Degrees per second regarding short MAX and MIN value calculations --- diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java index c42cf170..84eef0db 100644 --- a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java @@ -36,7 +36,7 @@ public class DriveTrain extends Subsystem { public AnalogInput channel; // Gyro stuff - double rawValue; + short rawValue; public FirebotGyro gyro; public DriveTrain() {