Home
last modified time | relevance | path

Searched refs:vec3_t (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/sensorservice/
DFusion.h44 vec3_t x1;
66 void handleGyro(const vec3_t& w, float dT);
67 status_t handleAcc(const vec3_t& a, float dT);
68 status_t handleMag(const vec3_t& m);
70 vec3_t getBias() const;
83 vec3_t Ba, Bm;
86 vec<vec3_t, 3> mData;
91 bool checkInitComplete(int, const vec3_t& w, float d = 0);
94 void predict(const vec3_t& w, float dT);
95 void update(const vec3_t& z, const vec3_t& Bi, float sigma);
[all …]
DFusion.cpp261 bool Fusion::checkInitComplete(int what, const vec3_t& d, float dT) { in checkInitComplete()
294 vec3_t up(mData[0]); in checkInitComplete()
295 vec3_t east; in checkInitComplete()
303 vec3_t north(cross_product(up, east)); in checkInitComplete()
313 void Fusion::handleGyro(const vec3_t& w, float dT) { in handleGyro()
320 status_t Fusion::handleAcc(const vec3_t& a, float dT) { in handleAcc()
334 vec3_t w_dummy; in handleAcc()
340 vec3_t m; in handleAcc()
345 vec3_t unityA = a * l_inv; in handleAcc()
353 status_t Fusion::handleMag(const vec3_t& m) { in handleMag()
[all …]
DSensorFusion.cpp86 const vec3_t gyro(event.data); in process()
96 const vec3_t mag(event.data); in process()
108 const vec3_t acc(event.data); in process()
DGravitySensor.cpp58 vec3_t g; in process()
DCorrectedGyroSensor.cpp59 const vec3_t bias(mSensorFusion.getGyroBias()); in process()
DSensorFusion.h84 vec3_t getGyroBias() const { return mFusions[FUSION_9AXIS].getBias(); } in getGyroBias()
DOrientationSensor.cpp52 vec3_t g; in process()
DRotationVectorSensor.cpp137 const vec3_t b(mSensorFusion.getGyroBias()); in process()
Dvec.h431 typedef vec<float, 3> vec3_t;
/frameworks/native/opengl/libagl/
Dcontext.h86 struct vec3_t { struct
622 vec3_t currentNormal;
Darray.cpp143 memcpy(v, c->currentNormal.v, sizeof(vec3_t)); in currentNormal()