PID Controller(PID控制) 基础的PID结构 数字PID控制 typedef volatile struct { float Kp; // proportional gain float Ki; // integral gain float Kd; // derivative gain float Kr; // set point weight float c1; // D filter coefficient 1 float c2; // D fi