Monado OpenXR Runtime
xrt_tracked_psvr Interface Reference

A tracked PSVR headset. More...

#include <xrt/xrt_tracking.h>

Collaboration diagram for xrt_tracked_psvr:

Public Member Functions

int t_psvr_start (struct xrt_tracked_psvr *xtvr)
 
int t_psvr_create (struct xrt_frame_context *xfctx, struct t_stereo_camera_calibration *data, struct xrt_tracked_psvr **out_xtvr, struct xrt_frame_sink **out_sink)
 

Data Fields

struct xrt_tracking_originorigin
 The tracking system origin for this ball. More...
 
struct xrt_devicexdev
 Device owning this ball. More...
 
void(* push_imu )(struct xrt_tracked_psvr *, timepoint_ns timestamp_ns, struct xrt_tracking_sample *sample)
 Push a IMU sample into the tracking system. More...
 
void(* get_tracked_pose )(struct xrt_tracked_psvr *, timepoint_ns when_ns, struct xrt_space_relation *out_relation)
 Called by the owning xrt_device xdev to get the pose of the psvr in the tracking space at the given time. More...
 
void(* destroy )(struct xrt_tracked_psvr *)
 Destroy this tracked psvr. More...
 

Detailed Description

A tracked PSVR headset.

Todo:
How do we communicate led lighting status?

Field Documentation

◆ destroy

void(* xrt_tracked_psvr::destroy) (struct xrt_tracked_psvr *)

Destroy this tracked psvr.

◆ get_tracked_pose

void(* xrt_tracked_psvr::get_tracked_pose) (struct xrt_tracked_psvr *, timepoint_ns when_ns, struct xrt_space_relation *out_relation)

Called by the owning xrt_device xdev to get the pose of the psvr in the tracking space at the given time.

◆ origin

struct xrt_tracking_origin* xrt_tracked_psvr::origin

The tracking system origin for this ball.

◆ push_imu

void(* xrt_tracked_psvr::push_imu) (struct xrt_tracked_psvr *, timepoint_ns timestamp_ns, struct xrt_tracking_sample *sample)

Push a IMU sample into the tracking system.

◆ xdev

struct xrt_device* xrt_tracked_psvr::xdev

Device owning this ball.


The documentation for this interface was generated from the following files: