Home
last modified time | relevance | path

Searched refs:roll (Results 1 – 5 of 5) sorted by relevance

/zscilib-3.4.0/src/orientation/
Dahrs.c26 e->x = a->roll * ZSL_DEG_TO_RAD; in zsl_att_to_euler()
37 a->roll = e->x * ZSL_RAD_TO_DEG; in zsl_att_from_euler()
68 zsl_real_t den = mag_unit.data[0] * ZSL_COS(att.roll * ZSL_DEG_TO_RAD) + in zsl_att_from_accelmag()
69 ZSL_SIN(att.roll * ZSL_DEG_TO_RAD) * in zsl_att_from_accelmag()
73 a->roll = att.roll; in zsl_att_from_accelmag()
102 a->roll = ZSL_ATAN2(accel_unit.data[1], accel_unit.data[2]) in zsl_att_from_accel()
/zscilib-3.4.0/include/zsl/orientation/
Dahrs.h54 zsl_real_t roll; member
/zscilib-3.4.0/tests/src/
Dorientation_tests.c15 struct zsl_attitude a = { .roll = 15.0, .pitch = 2.5, .yaw = -10.0 }; in ZTEST()
24 zassert_true(v.data[0] == a.roll, NULL); in ZTEST()
41 .roll = 164.0545819, in ZTEST()
69 .roll = 164.0545819, in ZTEST()
76 zassert_true(val_is_equal(a.roll, acmp.roll, 1E-4), NULL); in ZTEST()
91 .roll = 131.185925, in ZTEST()
108 zassert_true(val_is_equal(att.roll, acmp.roll, 1E-6), NULL); in ZTEST()
131 .roll = 131.185925, in ZTEST()
145 zassert_true(val_is_equal(att.roll, acmp.roll, 1E-6), NULL); in ZTEST()
/zscilib-3.4.0/src/orientation/fusion/
Dcalibration.c489 Sx += (e.x - att.roll) * (e.x - att.roll); in zsl_fus_cal_madg()
576 Sx += (e.x - att.roll) * (e.x - att.roll); in zsl_fus_cal_mahn()
/zscilib-3.4.0/
DREADME.md684 - [x] From Accel + Mag (roll, pitch, yaw)
685 - [x] From Accel (roll, pitch)