|
Monado OpenXR Runtime
|
Interface to the WMR HMD driver code. More...
#include "tracking/t_tracking.h"#include "xrt/xrt_device.h"#include "xrt/xrt_frame.h"#include "xrt/xrt_prober.h"#include "os/os_threading.h"#include "math/m_imu_3dof.h"#include "util/u_logging.h"#include "util/u_distortion_mesh.h"#include "util/u_var.h"#include "wmr_protocol.h"#include "wmr_config.h"#include "wmr_camera.h"#include "wmr_common.h"#include "wmr_hmd_controller.h"
Go to the source code of this file.
Data Structures | |
| struct | wmr_headset_descriptor |
| struct | wmr_hmd |
Macros | |
| #define | WMR_MAX_CONTROLLERS 2 |
Functions | |
| static struct wmr_hmd * | wmr_hmd (struct xrt_device *p) |
| void | wmr_hmd_create (enum wmr_headset_type hmd_type, struct os_hid_device *hid_holo, struct os_hid_device *hid_ctrl, struct xrt_prober_device *dev_holo, enum u_logging_level log_level, struct xrt_device **out_hmd, struct xrt_device **out_handtracker, struct xrt_device **out_left_controller, struct xrt_device **out_right_controller) |
| bool | wmr_hmd_send_controller_packet (struct wmr_hmd *hmd, const uint8_t *buffer, uint32_t buf_size) |
| int | wmr_hmd_read_sync_from_controller (struct wmr_hmd *hmd, uint8_t *buffer, uint32_t buf_size, int timeout_ms) |
Interface to the WMR HMD driver code.
| void wmr_hmd_create | ( | enum wmr_headset_type | hmd_type, |
| struct os_hid_device * | hid_holo, | ||
| struct os_hid_device * | hid_ctrl, | ||
| struct xrt_prober_device * | dev_holo, | ||
| enum u_logging_level | log_level, | ||
| struct xrt_device ** | out_hmd, | ||
| struct xrt_device ** | out_handtracker, | ||
| struct xrt_device ** | out_left_controller, | ||
| struct xrt_device ** | out_right_controller | ||
| ) |
References wmr_hmd::average_imus, xrt_hmd_parts::blend_modes, xrt_device::compute_distortion, wmr_hmd::config, wmr_hmd::config_hdr, wmr_headset_descriptor::debug_name, xrt_device::destroy, wmr_headset_descriptor::dev_id_str, xrt_hmd_parts::distortion, xrt_hmd_parts::fov, xrt_device::get_compositor_info, xrt_device::get_tracked_pose, xrt_device::get_view_poses, wmr_hmd::hid_control_dev, wmr_hmd::hid_hololens_sensors_dev, xrt_device::hmd, wmr_hmd::hmd_screen_enable, xrt_device::inputs, u_poly_3k_eye_values::inv_affine_xform, xrt_hmd_parts::models, wmr_hmd::mutex, xrt_device::name, wmr_hmd::offset, wmr_hmd::oth, wmr_distortion_eye_config::poly_3k, wmr_hmd::pose, xrt_hmd_parts::preferred, wmr_hmd::source, xrt_device::supported, u_poly_3k_eye_values::tex_x_range, wmr_hmd::tracked_offset_ms, wmr_hmd::tracking, u_device_get_view_poses(), u_device_noop_update_inputs(), u_distortion_mesh_fill_in_compute(), u_extents_2d_split_side_by_side(), xrt_device::update_inputs, wmr_config_precompute_transforms(), wmr_hmd_setup_trackers(), wmr_source_create(), wmr_hmd::xfctx, XRT_INPUT_GENERIC_HEAD_POSE, xrt_pose::XRT_POSE_IDENTITY, and u_poly_3k_eye_values::y_offset.
Referenced by wmr_create_headset().