Monado OpenXR Runtime
|
A single tracked PS Move controller, camera and ball are not synced. More...
#include <xrt/xrt_tracking.h>
Public Member Functions | |
int | t_psmv_start (struct xrt_tracked_psmv *xtmv) |
int | t_psmv_create (struct xrt_frame_context *xfctx, struct xrt_colour_rgb_f32 *rgb, struct t_stereo_camera_calibration *data, struct xrt_tracked_psmv **out_xtmv, struct xrt_frame_sink **out_sink) |
Static Public Member Functions | |
static void | xrt_tracked_psmv_get_tracked_pose (struct xrt_tracked_psmv *psmv, enum xrt_input_name name, timepoint_ns when_ns, struct xrt_space_relation *out_relation) |
static void | xrt_tracked_psmv_push_imu (struct xrt_tracked_psmv *psmv, timepoint_ns timestamp_ns, struct xrt_tracking_sample *sample) |
static void | xrt_tracked_psmv_destroy (struct xrt_tracked_psmv **xtmv_ptr) |
static void | xrt_tracked_psvr_get_tracked_pose (struct xrt_tracked_psvr *psvr, timepoint_ns when_ns, struct xrt_space_relation *out_relation) |
static void | xrt_tracked_psvr_push_imu (struct xrt_tracked_psvr *psvr, timepoint_ns timestamp_ns, struct xrt_tracking_sample *sample) |
static void | xrt_tracked_psvr_destroy (struct xrt_tracked_psvr **xtvr_ptr) |
Data Fields | |
struct xrt_tracking_origin * | origin |
The tracking system origin for this ball. More... | |
struct xrt_device * | xdev |
Device owning this ball. More... | |
struct xrt_colour_rgb_f32 | colour |
Colour of the ball. More... | |
void(* | push_imu )(struct xrt_tracked_psmv *, 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_psmv *, enum xrt_input_name name, timepoint_ns when_ns, struct xrt_space_relation *out_relation) |
Called by the owning xrt_device xdev to get the pose of the ball in the tracking space at the given time. More... | |
void(* | destroy )(struct xrt_tracked_psmv *) |
Destroy this tracked ball. More... | |
A single tracked PS Move controller, camera and ball are not synced.
struct xrt_colour_rgb_f32 xrt_tracked_psmv::colour |
Colour of the ball.
void(* xrt_tracked_psmv::destroy) (struct xrt_tracked_psmv *) |
Destroy this tracked ball.
void(* xrt_tracked_psmv::get_tracked_pose) (struct xrt_tracked_psmv *, enum xrt_input_name name, timepoint_ns when_ns, struct xrt_space_relation *out_relation) |
Called by the owning xrt_device xdev to get the pose of the ball in the tracking space at the given time.
struct xrt_tracking_origin* xrt_tracked_psmv::origin |
The tracking system origin for this ball.
void(* xrt_tracked_psmv::push_imu) (struct xrt_tracked_psmv *, timepoint_ns timestamp_ns, struct xrt_tracking_sample *sample) |
Push a IMU sample into the tracking system.
struct xrt_device* xrt_tracked_psmv::xdev |
Device owning this ball.