Skip to content
Snippets Groups Projects
Commit 37340711 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Continual VR pose adjust when checked

parent 520118e8
No related branches found
No related tags found
1 merge request!324Implements #365 aruco align VR pose
Pipeline #28727 passed
......@@ -323,6 +323,8 @@ bool OpenVRRender::retrieve(ftl::data::Frame &frame_out) {
ftl::operators::Poser::get(headset_origin, horigin);
}
initial_pose_ = horigin*viewPose.inverse();
if (host_->value("reset_pose", false)) pose_calibrated_.clear();
}
rgbdframe.setPose() = initial_pose_*viewPose;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment