Searched refs:vec3_t (Results 1 – 12 of 12) sorted by relevance
/frameworks/native/libs/vr/libdvrcommon/tests/ |
D | pose_test.cpp | 15 using vec3_t = Eigen::Vector3<FT>; typedef in PoseTest 24 using vec3_t = typename TestFixture::vec3_t; in TYPED_TEST() typedef 32 FT(M_PI / 3.0), vec3_t(FT(3.0), FT(4.0), FT(5.0)).normalized())); in TYPED_TEST() 33 const vec3_t initial_position = vec3_t(FT(2.0), FT(10.0), FT(-4.0)); in TYPED_TEST() 44 using vec3_t = typename TestFixture::vec3_t; in TYPED_TEST() typedef 51 Eigen::AngleAxis<FT>(FT(M_PI / 2.0), vec3_t(FT(0.0), FT(0.0), FT(1.0)))); in TYPED_TEST() 52 const auto pose_position = vec3_t(FT(1.0), FT(1.0), FT(2.0)); in TYPED_TEST() 57 vec3_t start_position = vec3_t::Zero(); in TYPED_TEST() 59 const vec3_t expected_transformed = in TYPED_TEST() 61 const vec3_t actual_transformed = test_pose.TransformPoint(start_position); in TYPED_TEST() [all …]
|
/frameworks/native/services/sensorservice/ |
D | Fusion.h | 44 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 …]
|
D | Fusion.cpp | 261 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 …]
|
D | SensorFusion.cpp | 86 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()
|
D | SensorFusion.h | 84 vec3_t getGyroBias() const { return mFusions[FUSION_9AXIS].getBias(); } in getGyroBias()
|
D | CorrectedGyroSensor.cpp | 59 const vec3_t bias(mSensorFusion.getGyroBias()); in process()
|
D | GravitySensor.cpp | 58 vec3_t g; in process()
|
D | OrientationSensor.cpp | 52 vec3_t g; in process()
|
D | RotationVectorSensor.cpp | 137 const vec3_t b(mSensorFusion.getGyroBias()); in process()
|
D | vec.h | 431 typedef vec<float, 3> vec3_t;
|
/frameworks/native/opengl/libagl/ |
D | context.h | 86 struct vec3_t { struct 622 vec3_t currentNormal;
|
D | array.cpp | 140 memcpy(v, c->currentNormal.v, sizeof(vec3_t)); in currentNormal()
|