11 lines
507 B
Plaintext
11 lines
507 B
Plaintext
|
diff a/APP/Device/Device_speed/speed_to_bldc.c b/APP/Device/Device_speed/speed_to_bldc.c (rejected hunks)
|
|||
|
@@ -112,7 +112,7 @@
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
H_IIncPid = g_ptz.hori_pid.A * H_IError + g_ptz.hori_pid.B * g_ptz.hori_pid.LastError + g_ptz.hori_pid.C * g_ptz.hori_pid.PrevError;
|
|||
|
|
|||
|
- // H_IIncPid = PTZ_HORI_PID_HORI_KP;
|
|||
|
+ // H_IIncPid = PTZ_HORI_PID_HORI_KP * (H_IError - g_ptz.hori_pid.LastError) + PTZ_HORI_PID_HORI_TI * H_IError;
|
|||
|
|
|||
|
|
|||
|
//<2F>洢<EFBFBD><E6B4A2><EFBFBD><EEA3AC><EFBFBD><EFBFBD><EFBFBD>´μ<C2B4><CEBC><EFBFBD>
|