107108109110111112113
public void toTank() { setDefaultCommand(new TankDriveWithJoystick()); } public void toMecanum() { setDefaultCommand(new MecanumDriveWithJoystick()); }
111112113114115116117118
public void toMecanum() { setDefaultCommand(new MecanumDriveWithJoystick()); } protected void initDefaultCommand() { setDefaultCommand(new MecanumDriveWithJoystick()); EitherOne.get(); }