Monado OpenXR Runtime
Data Fields
xrt_tracked_psvr Struct Reference

A tracked PSVR headset. More...

#include <xrt/xrt_tracking.h>

Collaboration diagram for xrt_tracked_psvr:
Collaboration graph
[legend]

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.

Referenced by t_psvr_create().

◆ 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.

Referenced by t_psvr_create().

◆ 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.

Referenced by t_psvr_create().

◆ xdev

struct xrt_device* xrt_tracked_psvr::xdev

Device owning this ball.


The documentation for this struct was generated from the following file: