/zscilib-3.4.0/src/physics/ |
D | fluids.c | 65 zsl_phy_fluid_flow_rate(zsl_real_t a1, zsl_real_t v1, zsl_real_t a2, in zsl_phy_fluid_flow_rate() argument 68 if (v1 < 0 || a1 < 0 || a2 <= 0) { in zsl_phy_fluid_flow_rate() 73 *v2 = (a1 * v1) / a2; in zsl_phy_fluid_flow_rate() 79 zsl_phy_fluid_force_prop(zsl_real_t a1, zsl_real_t f1, zsl_real_t a2, in zsl_phy_fluid_force_prop() argument 82 if (f1 < 0 || a2 < 0 || a1 <= 0) { in zsl_phy_fluid_force_prop() 87 *f2 = (a2 * f1) / a1; in zsl_phy_fluid_force_prop()
|
/zscilib-3.4.0/src/orientation/ |
D | ahrs.c | 114 int zsl_att_accel_angle(struct zsl_vec *a1, struct zsl_vec *a2, zsl_real_t *b) in zsl_att_accel_angle() argument 120 if (a1->sz != 3 || a2->sz != 3) { in zsl_att_accel_angle() 129 a2_norm = zsl_vec_norm(a2); in zsl_att_accel_angle() 130 zsl_vec_dot(a1, a2, &dot); in zsl_att_accel_angle()
|
/zscilib-3.4.0/include/zsl/physics/ |
D | fluids.h | 98 int zsl_phy_fluid_flow_rate(zsl_real_t a1, zsl_real_t v1, zsl_real_t a2, 115 int zsl_phy_fluid_force_prop(zsl_real_t a1, zsl_real_t f1, zsl_real_t a2,
|
/zscilib-3.4.0/src/orientation/fusion/ |
D | kalman.c | 121 struct zsl_quat a2; in zsl_fus_kalman() local 124 zsl_quat_rot(q, &gv, &a2); in zsl_fus_kalman() 127 h.data[0] = 2.0 * a2.i; in zsl_fus_kalman() 128 h.data[1] = 2.0 * a2.j; in zsl_fus_kalman() 129 h.data[2] = 2.0 * a2.k; in zsl_fus_kalman()
|
/zscilib-3.4.0/tests/src/ |
D | fusion_tests.c | 122 ZSL_VECTOR_DEF(a2, 5); in ZTEST() 139 rc = madg_drv.feed_handler(&a2, &m, &g, NULL, &q, madg_drv.config); in ZTEST() 348 ZSL_VECTOR_DEF(a2, 5); in ZTEST() 367 rc = mahn_drv.feed_handler(&a2, &m, &g, NULL, &q, mahn_drv.config); in ZTEST() 485 ZSL_VECTOR_DEF(a2, 5); in ZTEST() 495 rc = saam_drv.feed_handler(&a2, &m, &g, NULL, &q, saam_drv.config); in ZTEST() 620 ZSL_VECTOR_DEF(a2, 5); in ZTEST() 627 rc = comp_drv.feed_handler(&a2, &m, &g, NULL, &q, comp_drv.config); in ZTEST() 632 rc = comp_drv.feed_handler(&a2, &m, &g, NULL, &q, comp_drv.config); in ZTEST() 639 rc = comp_drv.feed_handler(&a2, &m, &g, NULL, &q, comp_drv.config); in ZTEST() [all …]
|
D | calibration_tests.c | 64 ZSL_VECTOR_DEF(a2, 4); in ZTEST() 87 rc = zsl_fus_cal_rot_axis_angle(&v, &a2, &b, &w); in ZTEST() 298 ZSL_MATRIX_DEF(a2, 12, 1); in ZTEST() 370 rc = zsl_fus_cal_madg(&g, &a2, &m, 100.0, NULL, &beta); in ZTEST() 390 ZSL_MATRIX_DEF(a2, 12, 1); in ZTEST() 462 rc = zsl_fus_cal_mahn(&g, &a2, &m, 100.0, NULL, &kp); in ZTEST()
|
D | orientation_tests.c | 160 ZSL_VECTOR_DEF(a2, 3); in ZTEST() 171 rc = zsl_vec_from_arr(&a2, b); in ZTEST() 175 rc = zsl_att_accel_angle(&a1, &a2, &d); in ZTEST() 181 rc = zsl_att_accel_angle(&a3, &a2, &d); in ZTEST() 985 ZSL_VECTOR_DEF(a2, 4); in ZTEST() 989 rc = zsl_vec_init(&a2); in ZTEST() 1007 rc = zsl_quat_to_axis_angle(&q, &a2, &b); in ZTEST() 1018 ZSL_VECTOR_DEF(a2, 3); in ZTEST() 1024 rc = zsl_vec_init(&a2); in ZTEST() 1036 rc = zsl_quat_from_axis_angle(&a2, &b, &q); in ZTEST()
|
D | statistics_tests.c | 128 zsl_real_t a2[5] = { 1.0, -7.0, 4.0, 8.0, -4.0 }; in ZTEST() local 137 rc = zsl_vec_from_arr(&v2, a2); in ZTEST()
|
D | matrix_tests.c | 2527 zsl_real_t a2[16] = { in ZTEST() local 2549 rc = zsl_mtx_from_arr(&va2, a2); in ZTEST()
|
/zscilib-3.4.0/include/zsl/orientation/ |
D | ahrs.h | 147 int zsl_att_accel_angle(struct zsl_vec *a1, struct zsl_vec *a2, zsl_real_t *b);
|