mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 08:48:01 -06:00
31 lines
989 B
Java
31 lines
989 B
Java
|
|
/*----------------------------------------------------------------------------*/
|
||
|
|
/* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */
|
||
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||
|
|
/* the project. */
|
||
|
|
/*----------------------------------------------------------------------------*/
|
||
|
|
|
||
|
|
package frc4388.robot;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Add your docs here.
|
||
|
|
*/
|
||
|
|
public class Gains {
|
||
|
|
public final double kP;
|
||
|
|
public final double kI;
|
||
|
|
public final double kD;
|
||
|
|
public final double kF;
|
||
|
|
public final int kIzone;
|
||
|
|
public final double kPeakOutput;
|
||
|
|
|
||
|
|
public Gains(double _kP, double _kI, double _kD, double _kF, int _kIzone, double _kPeakOutput)
|
||
|
|
{
|
||
|
|
kP = _kP;
|
||
|
|
kI = _kI;
|
||
|
|
kD = _kD;
|
||
|
|
kF = _kF;
|
||
|
|
kIzone = _kIzone;
|
||
|
|
kPeakOutput = _kPeakOutput;
|
||
|
|
}
|
||
|
|
}
|