Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DFusion.h37 vec3_t x1;
59 void handleGyro(const vec3_t& w, float dT);
60 status_t handleAcc(const vec3_t& a);
61 status_t handleMag(const vec3_t& m);
63 vec3_t getBias() const;
69 vec3_t Ba, Bm;
72 vec<vec3_t, 3> mData;
75 bool checkInitComplete(int, const vec3_t& w, float d = 0);
78 void predict(const vec3_t& w, float dT);
79 void update(const vec3_t& z, const vec3_t& Bi, float sigma);
DFusion.cpp229 bool Fusion::checkInitComplete(int what, const vec3_t& d, float dT) { in checkInitComplete()
261 vec3_t up(mData[0]); in checkInitComplete()
262 vec3_t east(cross_product(mData[1], up)); in checkInitComplete()
264 vec3_t north(cross_product(up, east)); in checkInitComplete()
274 void Fusion::handleGyro(const vec3_t& w, float dT) { in handleGyro()
281 status_t Fusion::handleAcc(const vec3_t& a) { in handleAcc()
295 status_t Fusion::handleMag(const vec3_t& m) { in handleMag()
312 const vec3_t up( getRotationMatrix() * Ba ); in handleMag()
313 const vec3_t east( cross_product(m, up) ); in handleMag()
325 vec3_t north( cross_product(up, east) ); in handleMag()
[all …]
DSensorFusion.cpp66 mFusion.handleGyro(vec3_t(event.data), dT); in process()
76 const vec3_t mag(event.data); in process()
79 const vec3_t acc(event.data); in process()
DSensorFusion.h62 vec3_t getGyroBias() const { return mFusion.getBias(); } in getGyroBias()
DGravitySensor.cpp49 vec3_t g; in process()
DCorrectedGyroSensor.cpp48 const vec3_t bias(mSensorFusion.getGyroBias()); in process()
DOrientationSensor.cpp46 vec3_t g; in process()
DRotationVectorSensor.cpp91 const vec3_t b(mSensorFusion.getGyroBias()); in process()
Dvec.h431 typedef vec<float, 3> vec3_t;
/frameworks/native/opengl/libagl/
Dcontext.h85 struct vec3_t { struct
621 vec3_t currentNormal;
Darray.cpp143 memcpy(v, c->currentNormal.v, sizeof(vec3_t)); in currentNormal()