[MOD]: Update PID

This commit is contained in:
but0n 2016-10-10 21:26:20 +08:00
parent 6039f24f53
commit c840cb64c8
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ extern float g_Yaw, g_Pitch, g_Roll; //eular
#define OUTTER_LOOP_KI 0
#define OUTTER_LOOP_KD 0
#define INNER_LOOP_KP 0.5f
#define INNER_LOOP_KP 0.8f
#define INNER_LOOP_KI 0
#define INNER_LOOP_KD 0

View File

@ -94,8 +94,8 @@ int main() {
.OutterLast = 0,
.Feedback = &g_Roll,
.i = 0,
.Channel1 = &MOTOR4,
.Channel2 = &MOTOR2,
.Channel1 = &MOTOR2,
.Channel2 = &MOTOR4,
.Gyro = &sourceData.gX,
};