PID算法源码 #include#includePIDFunctionThePID比例积分微分functionisusedinmainlycontrolapplicationsPIDCalcperformsoneiterationofthePIDalgori