mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
aux/math: Use dt in calculation of ang vel between quat diference
This commit is contained in:
parent
3e8a070e93
commit
bcb4cd82cd
|
@ -162,5 +162,5 @@ math_quat_finite_difference(const struct xrt_quat *quat0,
|
|||
|
||||
|
||||
Eigen::Quaternionf inc_quat = map_quat(*quat1) * map_quat(*quat0).conjugate();
|
||||
map_vec3(*out_ang_vel) = 2.f * quat_ln(inc_quat);
|
||||
map_vec3(*out_ang_vel) = 2.f * quat_ln(inc_quat) / dt;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue