for learning

Dependencies:   mbed FastPWM

Revision:
218:066030f7951f
Parent:
207:c70c5a9f17dd
Child:
224:985dba42f261
Child:
252:179a8c8791dc
--- 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;