Sungwoo Kim
/
HydraulicControlBoard_PostLIGHT_Original
Original Version of STM Board
Diff: function_utilities/function_utilities.cpp
- Revision:
- 218:066030f7951f
- Parent:
- 207:c70c5a9f17dd
- Child:
- 224:985dba42f261
diff -r ea3ce5d72ae3 -r 066030f7951f function_utilities/function_utilities.cpp --- a/function_utilities/function_utilities.cpp Thu Dec 24 14:45:19 2020 +0000 +++ b/function_utilities/function_utilities.cpp Sun Dec 27 12:37:18 2020 +0000 @@ -92,6 +92,7 @@ float Pt = 0.0f; // 0bar = 0Pa //float Kv = 0.00000002635f; // Q = Kv*xv*sqrt(Ps-Pa) => 100bar full opening 5LPM (full opening : xv = 1) [unit] m^3.5/kg^0.5 float gamma_hat = 1075.0f; // Kv*beta*A/(sqrt(2)*V) 0.00000002635f * 1300000000.0f * / (sqrt(2.0f)*(1256.6f + 236.4f * 39.75f) * 0.000000001f / 2) [unit] m^3.5/kg^0.5 +float a_hat = -13707631.7f; float V_adapt = 0.0000053f; // (1256.6f + 236.4f * 39.75f) * 0.000000001f / 2 float x_4_des_old = 0.0f;