From bff991abfabf75630f6ac3391d02a2fc68a4322e Mon Sep 17 00:00:00 2001 From: EvanYap Date: Mon, 8 Feb 2016 20:07:23 -0800 Subject: [PATCH 1/1] Make convert method to get Z axis in Degrees per second regarding short MAX and MIN value calculations --- src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.30.2