Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Frozen committed Apr 4, 2024
1 parent df6b8ba commit c182c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infantry/pid.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ int16_t Pitch6020_PID(float pError, float truV)
#define PITCH_V2V_I_LIMIT (0.314)
float pitch6020_velocity_to_voltage(float vError)
{
if(vError>0){vError*=3;} //该死的重力补偿
if(vError>0){vError*=3;} //这是故意的,为的是重力补偿。云台后重前轻
static float iError = 0;
float output;
iError += vError;
Expand Down

0 comments on commit c182c4e

Please sign in to comment.