mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-26 03:46:49 -08:00
chore: update monado to a6a580491, use math_quat_exp_so3
This commit is contained in:
1 parent
75d76f1a77
commit
61abaf44e2
3 files changed
+3
-3
No files matched your search
@@ -70,7 +70,7 @@
|
||||
# Keep in sync with CMakeLists.txt monado rev
|
||||
rev = lib.strings.trim (builtins.readFile ./monado-rev);
|
||||
# Nix will output the correct hash when it doesn't match
|
||||
hash = "sha256-yeRZ0bodNC9A7ng84oSRXUt1WXGIFMF1OUTMybpimeQ=";
|
||||
hash = "sha256-s8OumKLn1FbrDgKg0DLLW6eIb7pmb6HtBt/AyNIaqhA=";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
f07dd134877d850ca9407c4b1a7b0c5a2a3d1ce2
|
||||
a6a580491f61b97fed54cc3f9a884d3cf0889be0
|
||||
@@ -84,7 +84,7 @@ xrt_space_relation pose_list::extrapolate(const xrt_space_relation & a, const xr
|
||||
{
|
||||
xrt_vec3 dtheta = res.angular_velocity * dt;
|
||||
xrt_quat dq;
|
||||
math_quat_exp(&dtheta, &dq);
|
||||
math_quat_exp_so3(&dtheta, &dq);
|
||||
|
||||
map_quat(res.pose.orientation) = map_quat(res.pose.orientation) * map_quat(dq);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user