This avoids a crash if the variable is accessed before the PIDController updates it.
Also, when the the PIDController is disabled, the value should be reset to 0. This prevents a "janky" response when the attendant is reused, and a left-over value remains in the instance variable. If it is accessed before the PIDController updates it, it could cause some trouble.
This avoids a crash if the variable is accessed before the PIDController updates it.
Also, when the the PIDController is disabled, the value should be reset to 0. This prevents a "janky" response when the attendant is reused, and a left-over value remains in the instance variable. If it is accessed before the PIDController updates it, it could cause some trouble.