mirror of
https://github.com/avem-labs/Avem.git
synced 2023-09-01 15:18:49 +08:00
[MOD]: Fixed Erro
This commit is contained in:
parent
f060f6f74c
commit
cd06e47b5b
@ -15,16 +15,16 @@ float g_q0 = 1, g_q1 = 0, g_q2 = 0, g_q3 = 0; //Quaternion
|
||||
float g_exInt = 0, g_eyInt = 0, g_ezInt = 0;
|
||||
float g_Yaw, g_Pitch, g_Roll;
|
||||
|
||||
// float Cache;
|
||||
// float *RealTime;
|
||||
// float Last;
|
||||
// float *Feedback;
|
||||
// float Erro;
|
||||
// float p;
|
||||
// float i;
|
||||
// float d;
|
||||
// short output;
|
||||
pid_st g_pid_pitch = {
|
||||
.Cache = 0.01,
|
||||
.RealTime = &g_Yaw,
|
||||
.Last = 0.01,
|
||||
.Feedback = &g_Yaw,
|
||||
.p = 0,
|
||||
.i = 0,
|
||||
.d = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user