Searched refs:dT (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | Fusion.cpp | 218 void Fusion::initFusion(const vec4_t& q, float dT) in initFusion() argument 234 const float dT2 = dT*dT; in initFusion() 235 const float dT3 = dT2*dT; in initFusion() 238 const float q00 = mParam.gyroVar * dT + 0.33333f * mParam.gyroBiasVar * dT3; in initFusion() 241 const float q11 = mParam.gyroBiasVar * dT; in initFusion() 261 bool Fusion::checkInitComplete(int what, const vec3_t& d, float dT) { in checkInitComplete() argument 270 mGyroRate = dT; in checkInitComplete() 277 mGyroRate = dT; in checkInitComplete() 278 mData[2] += d*dT; in checkInitComplete() 313 void Fusion::handleGyro(const vec3_t& w, float dT) { in handleGyro() argument [all …]
|
D | SensorFusion.cpp | 74 float dT; in process() local 78 dT = (event.timestamp - mGyroTime) / 1000000000.0f; in process() 80 const float freq = 1 / dT; in process() 82 const float alpha = 1 / (1 + dT); // 1s time-constant in process() 90 mFusions[i].handleGyro(gyro, dT); in process() 103 float dT; in process() local 106 dT = (event.timestamp - mAccTime) / 1000000000.0f; in process() 111 mFusions[i].handleAcc(acc, dT); in process()
|
D | Fusion.h | 66 void handleGyro(const vec3_t& w, float dT); 67 status_t handleAcc(const vec3_t& a, float dT); 92 void initFusion(const vec4_t& q0, float dT); 94 void predict(const vec3_t& w, float dT);
|
/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;
|