Commit 92f58fdf authored by Jakob Bornecrantz's avatar Jakob Bornecrantz Committed by Jakob Bornecrantz

t/psmv: Make sure to release lock

parent bb925c68
......@@ -498,8 +498,10 @@ get_pose(TrackerPSMV &t,
if (!t.tracked) {
out_relation->relation_flags = (enum xrt_space_relation_flags)0;
os_thread_helper_unlock(&t.oth);
return;
}
auto predicted_state =
flexkalman::getPrediction(t.filter_state, t.process_model,
/*! @todo compute dt here */ 0.024);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment