}
/*
- * Checks the drive mode
+ * Checks the drive mode <<<<<<< 9728080f491e9fb09795494349dba1297f447c0f
*
* @return the current state of the robot in each state Average distance from
* both sides of tank drive for Encoder Mode Angle from the gyro in GYRO_MODE
+ * =======
+ *
+ * @return the current state of the robot in each state Average distance from
+ * both sides of tank drive for Encoder Mode Angle from the gyro in GYRO_MODE
+ * >>>>>>> Move all constants in DeadReckoning to Auton class because it makes
+ * more sense
*/
private double sensorFeedback() {
if (DRIVE_MODE == Constants.DriveTrain.ENCODER_MODE)
leftGearPiston.set(gear);
rightGearPiston.set(gear);
}
+
+ public void toggleTimeDeadReckoning() {
+ Constants.Auton.isUsingTime = !Constants.Auton.isUsingTime;
+ }
}