aux/math: Use dt in calculation of ang vel between quat diference

This commit is contained in:
Mateo de Mayo 2021-12-13 09:35:42 -03:00 committed by Jakob Bornecrantz
parent 3e8a070e93
commit bcb4cd82cd

View file

@ -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;
}