SmartDashboard.putNumber(driveTrain.DRIVE_P_Val, 0);
SmartDashboard.putNumber(driveTrain.DRIVE_I_Val, 0);
SmartDashboard.putNumber(driveTrain.DRIVE_D_Val, 0);
+ SmartDashboard.putNumber(driveTrain.DRIVE_GYRO_P_Val, 0);
+
SmartDashboard.putNumber(driveTrain.DRIVE_TARGET_DIST, 50);
SmartDashboard.putNumber(driveTrain.MAX_TIME_OUT, 10);
driveTrain.getDriveController().setName("Drive");
driveTrain.getGyroController().setName("Gyro");
- driveTrain.getDriveController().setConstants(driveP, driveI, driveD);
+ driveTrain.getDriveController().setConstants(driveP, driveI, driveD);
driveTrain.getGyroController().setConstants(gyroP, gyroI, gyroD);
- Scheduler.getInstance().add(new DriveDistance(setpoint, maxTimeOut));
+ Scheduler.getInstance()
+ .add(new DriveDistance(setpoint, maxTimeOut));
}
@Override