driveTrain.getDriveController().setConstants(driveP, driveI, driveD);
driveTrain.getGyroController().setConstants(gyroP, gyroI, gyroD);
-
}
@Override
public void autonomousPeriodic() {
Scheduler.getInstance().run();
+ DriveTrain.getDriveTrain().getDriveController().setConstants(
double driveP = SmartDashboard.getNumber(Constants.DriveTrain.DRIVE_D_Val,
Constants.DriveTrain.PID_ERROR);