Searched defs:dT (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp65 const float dT = (event.timestamp - mGyroTime) / 1000000000.0f; local
66 mFusion.handleGyro(vec3_t(event.data), dT); local
68 const float freq = 1 / dT;
70 const float alpha = 1 / (1 + dT); // 1s time-constant
H A DFusion.cpp188 void Fusion::initFusion(const vec4_t& q, float dT) argument
204 const float dT2 = dT*dT;
205 const float dT3 = dT2*dT;
207 // variance of integrated output at 1/dT Hz (random drift)
208 const float q00 = gyroVAR * dT + 0.33333f * biasVAR * dT3;
211 const float q11 = biasVAR * dT;
229 bool Fusion::checkInitComplete(int what, const vec3_t& d, float dT) { argument
242 mGyroRate = dT;
243 mData[2] += d*dT;
274 handleGyro(const vec3_t& w, float dT) argument
372 predict(const vec3_t& w, float dT) argument
[all...]
/frameworks/base/services/common_time/
H A Dclock_recovery.cpp92 const float ClockRecoveryLoop::dT = 1.0; member in class:android::ClockRecoveryLoop
97 const float ClockRecoveryLoop::bias_RC = (dT / (2 * 3.14159f * bias_Fc));
98 const float ClockRecoveryLoop::bias_Alpha = (dT / (bias_RC + dT));
254 delta_f = last_delta_f_ - dT*(CO - CObias);
259 dCO = Kc * (1.0f + dT/Ti) * delta_f - Kc * last_delta_f_;
H A Dclock_recovery.h59 static const float dT; member in class:android::ClockRecoveryLoop

Completed in 555 milliseconds