Items to look at - Wirecats5686/Wirecats-2019-Base GitHub Wiki

  • add slowdrive back in
  • Using joystick buttons to switch cameras
// drivetrain.java

// TODO: Talk to Hannah about joystick buttons for cameras and slow drive
	// Either implement slow drive as indicated in 2018 code OR if using single 
	// button to switch between slow drive and tank drive, simply change BIAS_MULTIPLIER_LEFT
	// and BIAS_MULTIPLIER_RIGHT values as argument in constructor
	private static final double BIAS_MULTIPLIER_RIGHT_SLOW  = .3;
	private static final double BIAS_MULTIPLIER_LEFT_SLOW = .3;

...

public void slowDrive(double left, double right){
		drive.tankDrive(left * BIAS_MULTIPLIER_LEFT_SLOW, right * BIAS_MULTIPLIER_RIGHT_SLOW);
	}