Searched refs:Vec3 (Results 1 – 12 of 12) sorted by relevance
/device/google/contexthub/firmware/os/algos/common/math/ |
D | vec.h | 49 struct Vec3 { struct 58 static inline void initVec3(struct Vec3 *v, float x, float y, float z) { in initVec3() argument 66 static inline void vec3Add(struct Vec3 *v, const struct Vec3 *w) { in vec3Add() 75 static inline void vec3AddVecs(struct Vec3 *u, const struct Vec3 *v, in vec3AddVecs() 76 const struct Vec3 *w) { in vec3AddVecs() 86 static inline void vec3Sub(struct Vec3 *v, const struct Vec3 *w) { in vec3Sub() 95 static inline void vec3SubVecs(struct Vec3 *u, const struct Vec3 *v, in vec3SubVecs() 96 const struct Vec3 *w) { in vec3SubVecs() 106 static inline void vec3ScalarMul(struct Vec3 *v, float c) { in vec3ScalarMul() 114 static inline float vec3Dot(const struct Vec3 *v, const struct Vec3 *w) { in vec3Dot() [all …]
|
D | mat.h | 73 void initMatrixColumns(struct Mat33 *A, const struct Vec3 *v1, 74 const struct Vec3 *v2, const struct Vec3 *v3); 78 void mat33Apply(struct Vec3 *out, const struct Mat33 *A, const struct Vec3 *v); 127 void mat33GetEigenbasis(struct Mat33 *S, struct Vec3 *eigenvals,
|
D | mat.c | 63 void initMatrixColumns(struct Mat33 *A, const struct Vec3 *v1, in initMatrixColumns() 64 const struct Vec3 *v2, const struct Vec3 *v3) { in initMatrixColumns() 82 void mat33Apply(struct Vec3 *out, const struct Mat33 *A, const struct Vec3 *v) { in mat33Apply() 305 void mat33GetEigenbasis(struct Mat33 *S, struct Vec3 *eigenvals, in mat33GetEigenbasis()
|
D | kasa.c | 84 int kasaFit(struct KasaFit *kasa, struct Vec3 *bias, float *radius, in kasaFit() 120 struct Vec3 v; in kasaFit()
|
D | kasa.h | 48 int kasaFit(struct KasaFit *kasa, struct Vec3 *bias, float *radius,
|
/device/google/contexthub/firmware/os/algos/ |
D | fusion.c | 137 static int fusion_init_complete(struct Fusion *fusion, int what, const struct Vec3 *d, float dT) { in fusion_init_complete() 148 struct Vec3 unityD = *d; in fusion_init_complete() 162 struct Vec3 unityD = *d; in fusion_init_complete() 176 struct Vec3 scaledD = *d; in fusion_init_complete() 200 struct Vec3 up = fusion->mData[0]; in fusion_init_complete() 202 struct Vec3 east; in fusion_init_complete() 210 struct Vec3 north; in fusion_init_complete() 233 static void matrixCross(struct Mat33 *out, struct Vec3 *p, float diag) { in matrixCross() 261 static void fusionPredict(struct Fusion *fusion, const struct Vec3 *w) { in fusionPredict() 265 struct Vec3 b = fusion->x1; in fusionPredict() [all …]
|
/device/google/contexthub/firmware/os/inc/algos/ |
D | fusion.h | 42 struct Vec3 x1; 48 struct Vec3 Ba, Bm; 51 struct Vec3 mData[3]; 77 void fusionHandleGyro(struct Fusion *fusion, const struct Vec3 *w, float dT); 78 int fusionHandleAcc(struct Fusion *fusion, const struct Vec3 *a, float dT); 79 int fusionHandleMag(struct Fusion *fusion, const struct Vec3 *m, float dT); 85 void fusionGetBias(const struct Fusion *fusion, struct Vec3 *bias);
|
/device/google/cuttlefish/guest/commands/sensor_injection/ |
D | main.cpp | 85 Event::EventPayload::Vec3 vec3; in InjectOrientation() 117 Event::EventPayload::Vec3 vec3; in InjectAccelerometer() 137 Event::EventPayload::Vec3 vec3; in InjectMagnetometer() 157 Event::EventPayload::Vec3 vec3; in InjectGyroscope()
|
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/ |
D | mag_cal.c | 63 struct Vec3 eigenvals; in moc_eigen_test() 162 struct Vec3 bias; in magCalUpdate()
|
/device/google/contexthub/firmware/os/drivers/orientation/ |
D | orientation.c | 346 struct Vec3 g, a; in updateOutput() 449 struct Vec3 a, w, m; in drainSamples()
|
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/ |
D | accel_cal.c | 395 struct Vec3 eigenvals; in accEigenTest() 497 struct Vec3 bias; in accelCalRun()
|
/device/generic/goldfish/sensors/ |
D | multihal_sensors_qemu.cpp | 127 ahs10::Vec3* vec3 = &payload->vec3; in parseQemuSensorEventLocked()
|