Searched refs:dT (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | Fusion.cpp | 188 void Fusion::initFusion(const vec4_t& q, float dT) in initFusion() argument 204 const float dT2 = dT*dT; in initFusion() 205 const float dT3 = dT2*dT; in initFusion() 208 const float q00 = gyroVAR * dT + 0.33333f * biasVAR * dT3; in initFusion() 211 const float q11 = biasVAR * 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 | 65 const float dT = (event.timestamp - mGyroTime) / 1000000000.0f; in process() local 66 mFusion.handleGyro(vec3_t(event.data), dT); in process() 68 const float freq = 1 / dT; in process() 70 const float alpha = 1 / (1 + dT); // 1s time-constant in process()
|
/frameworks/base/core/java/android/hardware/ |
D | LegacySensorManager.java | 411 float dT = (mT[j] - mT[j+1])*ns; in filter() local 412 dT *= dT; in filter() 413 A += Z*dT; in filter() 414 B += T*(T*dT); in filter() 415 C += (T*dT); in filter() 416 D += Z*(T*dT); in filter() 417 E += dT; in filter()
|
/frameworks/base/libs/common_time/ |
D | clock_recovery.cpp | 93 const float ClockRecoveryLoop::dT = 1.0; member in android::ClockRecoveryLoop 98 const float ClockRecoveryLoop::bias_RC = (dT / (2 * 3.14159f * bias_Fc)); 99 const float ClockRecoveryLoop::bias_Alpha = (dT / (bias_RC + dT)); 255 delta_f = last_delta_f_ - dT*(CO - CObias); in pushDisciplineEvent() 260 dCO = Kc * (1.0f + dT/Ti) * delta_f - Kc * last_delta_f_; in pushDisciplineEvent()
|
D | clock_recovery.h | 59 static const float dT;
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_motion.jd | 269 // In this example, alpha is calculated as t / (t + dT), 271 // dT is the event delivery rate. 374 final float dT = (event.timestamp - timestamp) * NS2S; 395 float thetaOverTwo = omegaMagnitude * dT / 2.0f;
|