@@ -46,42 +46,42 @@ public class DriveTankWithPID extends Command {
46
46
/**
47
47
* The PID Controller of the PID loop operating on the left side of the drivetrain.
48
48
*/
49
- protected PIDController leftPIDController ;
49
+ protected final PIDController leftPIDController ;
50
50
51
51
/**
52
52
* The PID Controller of the PID loop operating on the right side of the drivetrain.
53
53
*/
54
- protected PIDController rightPIDController ;
54
+ protected final PIDController rightPIDController ;
55
55
56
56
/**
57
57
* The setpoint the left side of the drivetrain should reach.
58
58
*/
59
- protected Supplier <Double > leftSetpoint ;
59
+ protected final Supplier <Double > leftSetpoint ;
60
60
61
61
/**
62
62
* The setpoint the right side of the drivetrain should reach.
63
63
*/
64
- protected Supplier <Double > rightSetpoint ;
64
+ protected final Supplier <Double > rightSetpoint ;
65
65
66
66
/**
67
67
* How far the left side of the drivetrain drove.
68
68
*/
69
- protected Supplier <Double > leftSource ;
69
+ protected final Supplier <Double > leftSource ;
70
70
71
71
/**
72
72
* How far the right side of the drivetrain drove.
73
73
*/
74
- protected Supplier <Double > rightSource ;
74
+ protected final Supplier <Double > rightSource ;
75
75
76
76
/**
77
77
* The FeedForwards Controller of the FeedForward loop operating on the left side of the drivetrain.
78
78
*/
79
- protected FeedForwardController leftFeedForwardController ;
79
+ protected final FeedForwardController leftFeedForwardController ;
80
80
81
81
/**
82
82
* The FeedForwards Controller of the FeedForward loop operating on the right side of the drivetrain.
83
83
*/
84
- protected FeedForwardController rightFeedForwardController ;
84
+ protected final FeedForwardController rightFeedForwardController ;
85
85
86
86
/**
87
87
* The last time the left side of the drivetrain was not within its target zone.
0 commit comments