9/12 AIL Regulate
Dependencies: HCSR04_2 MPU6050_2 mbed SDFileSystem3
Fork of Autoflight2018_2 by
Diff: config/falfalla.h
- Revision:
- 3:954228fd64b3
- Parent:
- 1:f383708a5a52
--- a/config/falfalla.h Sat Sep 08 05:32:55 2018 +0000 +++ b/config/falfalla.h Wed Sep 12 05:13:58 2018 +0000 @@ -14,7 +14,7 @@ static float g_kiAIL=0.0; static float g_kdAIL=0.0; -static float g_rightloopROLL=-17.0; +static float g_rightloopROLL=0.0; static float g_rightloopPITCH=-6.3; static float g_leftloopROLL=16.0; static float g_leftloopPITCH=-6.0; @@ -33,14 +33,14 @@ #if NUMBER_FALFALLA == 1 //1号機 -const int16_t Trim_Falfalla[4] = {0,14,-100,-10}; +const int16_t Trim_Falfalla[4] = {-155,120,0,-240};//{0,14,-100,-10}; const float ExpMax_Falfalla[4] = {100,115,100,89}; const float ExpMin_Falfalla[4] = {100,47,100,110}; -const int8_t Reverce_falfalla[4] = {1,-1,1,1}; //Nutral:1 , Reverce:-1 +const int8_t Reverce_falfalla[4] = {-1,-1,1,1}; //Nutral:1 , Reverce:-1 #elif NUMBER_FALFALLA == 2 //2号機 -const int16_t Trim_Falfalla[4] = {0,12,0,2}; //rewrite -100 +const int16_t Trim_Falfalla[6] = {135,240,0,-240,240,-130};//{0,12,0,2}; const float ExpMax_Falfalla[4] = {100,115,100,103}; const float ExpMin_Falfalla[4] = {100,97,100,97}; const int16_t Reverce_falfalla[4] = {1,-1,1,-1}; //Nutral:1 , Reverce:-1