Searched refs:dT (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/sensorservice/ |
D | Fusion.cpp | 188 void Fusion::initFusion(const vec4_t& q, float dT) in initFusion() argument 206 const float q00 = gyroVAR * dT; in initFusion() 209 const float q11 = biasVAR * dT; in initFusion() 211 const float u = q11 / dT; in initFusion() 212 const float q10 = 0.5f*u*dT*dT; in initFusion() 229 bool Fusion::checkInitComplete(int what, const vec3_t& d, float dT) { in checkInitComplete() argument 242 mGyroRate = dT; in checkInitComplete() 243 mData[2] += d*dT; in checkInitComplete() 274 void Fusion::handleGyro(const vec3_t& w, float dT) { in handleGyro() argument 275 if (!checkInitComplete(GYRO, w, dT)) in handleGyro() [all …]
|
D | Fusion.h | 59 void handleGyro(const vec3_t& w, float dT); 76 void initFusion(const vec4_t& q0, float dT); 78 void predict(const vec3_t& w, float dT);
|
D | SensorFusion.cpp | 55 const float dT = (event.timestamp - mGyroTime) / 1000000000.0f; in process() local 56 const float freq = 1 / dT; in process() 58 const float alpha = 1 / (1 + dT); // 1s time-constant in process()
|
/frameworks/base/services/common_time/ |
D | clock_recovery.cpp | 77 const float ClockRecoveryLoop::dT = 1.0; member in android::ClockRecoveryLoop 82 const float ClockRecoveryLoop::bias_RC = (dT / (2 * 3.14159f * bias_Fc)); 83 const float ClockRecoveryLoop::bias_Alpha = (dT / (bias_RC + dT)); 233 delta_f = last_delta_f_ - dT*(CO - CObias); in pushDisciplineEvent() 238 dCO = Kc * (1.0f + dT/Ti) * delta_f - Kc * last_delta_f_; in pushDisciplineEvent()
|
D | clock_recovery.h | 52 static const float dT;
|
/frameworks/base/core/java/android/hardware/ |
D | LegacySensorManager.java | 412 float dT = mT[j] - mT[j+1]; in filter() local 413 dT *= dT; in filter() 414 A += Z*dT; in filter() 415 B += T*(T*dT); in filter() 416 C += (T*dT); in filter() 417 D += Z*(T*dT); in filter() 418 E += dT; in filter()
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_motion.jd | 221 // In this example, alpha is calculated as t / (t + dT), 223 // dT is the event delivery rate. 326 final float dT = (event.timestamp - timestamp) * NS2S; 347 float thetaOverTwo = omegaMagnitude * dT / 2.0f;
|