update monado
This commit is contained in:
@@ -113,8 +113,10 @@ wivrn_generic_tracker::wivrn_generic_tracker(int index, xrt_device * hmd, wivrn_
|
||||
.device_type = XRT_DEVICE_TYPE_GENERIC_TRACKER,
|
||||
.hmd = nullptr,
|
||||
.tracking_origin = hmd->tracking_origin,
|
||||
.orientation_tracking_supported = true,
|
||||
.position_tracking_supported = true,
|
||||
.supported = {
|
||||
.orientation_tracking = true,
|
||||
.position_tracking = true,
|
||||
},
|
||||
.update_inputs = method_pointer<&wivrn_generic_tracker::update_inputs>,
|
||||
.get_tracked_pose = method_pointer<&wivrn_generic_tracker::get_tracked_pose>,
|
||||
.destroy = [](xrt_device *) {},
|
||||
@@ -173,4 +175,4 @@ void wivrn_generic_tracker::update_tracking(const from_headset::body_tracking &
|
||||
if (!poses.update_tracking(tracking.production_timestamp, tracking.timestamp, pose, offset))
|
||||
cnx.set_tracker_enabled(index, false);
|
||||
}
|
||||
} // namespace wivrn
|
||||
} // namespace wivrn
|
||||
|
||||
Reference in New Issue
Block a user