Remake gyro methods to print out rawValue of the gyro Rotation of Z axis
authorEvanYap <evanyap.14@gmail.com>
Tue, 9 Feb 2016 03:15:36 +0000 (19:15 -0800)
committerCindy Zhang <cindyzyx9@gmail.com>
Sat, 13 Feb 2016 19:53:02 +0000 (11:53 -0800)
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java

index ab84b0aaf169d12a4c1dc221895c9387dc40898e..63bc41928ff9d84850439b8b3eaa5fb21e002209 100644 (file)
@@ -35,6 +35,9 @@ public class DriveTrain extends Subsystem {
           / (WHEEL_SPROCKET_DIAMETER) * WHEEL_DIAMETER;
 
   public AnalogInput channel;
+
+  // Gyro stuff
+  double rawValue;
   public FirebotGyro gyro;
 
   public DriveTrain() {