The person also linked an example project which most of the code below is based off of and after I saw what it did I decided to learn more about PID controllers myself and eventually I decided to ...
pid.set_schedule("light_load", kp=1.4, ki=0.12, kd=0.06) pid.set_schedule("heavy_load", kp=0.8, ki=0.08, kd=0.04) ...