mirror of
https://github.com/avem-labs/Avem.git
synced 2023-09-01 15:18:49 +08:00
[MOD]: Update PID
This commit is contained in:
parent
6039f24f53
commit
c840cb64c8
@ -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
|
||||
|
||||
|
@ -94,8 +94,8 @@ int main() {
|
||||
.OutterLast = 0,
|
||||
.Feedback = &g_Roll,
|
||||
.i = 0,
|
||||
.Channel1 = &MOTOR4,
|
||||
.Channel2 = &MOTOR2,
|
||||
.Channel1 = &MOTOR2,
|
||||
.Channel2 = &MOTOR4,
|
||||
.Gyro = &sourceData.gX,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user