mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Add missing param javadoc comment and fix argument order inconsistency (#1475)
This commit is contained in:
@@ -89,6 +89,7 @@ public abstract class PIDSubsystem extends Subsystem {
|
||||
* @param p the proportional value
|
||||
* @param i the integral value
|
||||
* @param d the derivative value
|
||||
* @param f the feed forward value
|
||||
* @param period the time (in seconds) between calculations
|
||||
*/
|
||||
@SuppressWarnings("ParameterName")
|
||||
@@ -124,7 +125,7 @@ public abstract class PIDSubsystem extends Subsystem {
|
||||
* @param period the time (in seconds) between calculations
|
||||
*/
|
||||
@SuppressWarnings("ParameterName")
|
||||
public PIDSubsystem(double p, double i, double d, double period, double f) {
|
||||
public PIDSubsystem(double p, double i, double d, double f, double period) {
|
||||
m_controller = new PIDController(p, i, d, f, m_source, m_output, period);
|
||||
addChild("PIDController", m_controller);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user