public AnalogInput channel;
// Gyro stuff
+ private final static double NANOSECONDS_PER_SECOND = 1000000000;
short rawValue;
public FirebotGyro gyro;
+ double initialSpeedNanoseconds;
+ double finalSpeedNanoseconds;
+ double initialSpeedSeconds;
+ double finalSpeedSeconds;
+ double deltaSpeed;
+ double degrees;
+
public DriveTrain() {
frontLeft = new CANTalon(Constants.DriveTrain.FRONT_LEFT);
frontRight = new CANTalon(Constants.DriveTrain.FRONT_RIGHT);