예제 #1
0
 @Override
 public void onPIDEvent(PIDEvent e) {
   currentEncoderReading = e.getValue();
   setRobotLocationUpdate(ak.onPIDEvent(e, getSteeringAngle()));
 }
예제 #2
0
 @Override
 public void onPIDReset(int group, int currentValue) {
   System.out.println("Resetting PID");
   ak.onPIDReset(currentValue);
 }
예제 #3
0
 public double getMaxTicksPerSecond() {
   return ak.getMaxTicksPerSeconds();
 }
예제 #4
0
 @Override
 public void DriveVelocityArc(double degreesPerSecond, double cmRadius) {
   setVelocityData(ak.DriveVelocityArc(degreesPerSecond, cmRadius));
 }
예제 #5
0
 @Override
 public void DriveVelocityStraight(double cmPerSecond) {
   setVelocityData(ak.DriveVelocityStraight(cmPerSecond));
 }
예제 #6
0
 @Override
 public void DriveArc(double cmRadius, double degrees, double seconds) {
   setDriveData(ak.DriveArc(cmRadius, degrees, seconds));
 }
예제 #7
0
 @Override
 public void DriveStraight(double cm, double seconds) {
   setDriveData(ak.DriveStraight(cm, seconds));
 }