@@ -0,0 +1,839 @@
+package org.usfirst.frc2832.Robot_2016;%0D%0A%0D%0Aimport edu.wpi.first.wpilibj.command.Subsystem;%0D%0A%0D%0Apublic class DriveEncoders extends Subsystem %7B%0D%0A%0D%0A%09static double left;%0D%0A%09static double right;%0D%0A%09static double%5B%5D vals = new double%5B2%5D;%0D%0A%09@Override%0D%0A%09protected void initDefaultCommand() %7B%0D%0A%09%09// TODO Auto-generated method stub%0D%0A%09%09%0D%0A%09%7D%0D%0A%09%0D%0A%09public static double getAbsoluteValue()%0D%0A%09%7B%0D%0A%09%09vals = getBothValues();%0D%0A%09%09return Math.sqrt(vals%5B0%5D*vals%5B1%5D);%0D%0A%09%7D%0D%0A%09%0D%0A%09public static double getLeftValue()%0D%0A%09%7B%0D%0A%09%09return RobotMap.frontLeftMotor.getEncPosition();%0D%0A%09%7D%0D%0A%09%0D%0A%09public static double getRightValue()%0D%0A%09%7B%0D%0A%09%09return RobotMap.frontRightMotor.getEncPosition();%0D%0A%09%7D%0D%0A%09%0D%0A%09public static double%5B%5D getBothValues()%0D%0A%09%7B%0D%0A%09%09vals%5B0%5D = RobotMap.frontLeftMotor.getEncPosition();%0D%0A%09%09vals%5B1%5D = RobotMap.frontRightMotor.getEncPosition();%0D%0A%09%09return vals;%0D%0A%09%7D%0D%0A%09%0D%0A%09%0D%0A%0D%0A%7D%0D%0A

Add DriveEncoders.java which can access encoders (for two motors)