Monado OpenXR Runtime
Data Structures | Functions
t_tracker_psvr.cpp File Reference

PSVR tracker code. More...

#include "xrt/xrt_tracking.h"
#include "tracking/t_tracking.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_frame.h"
#include "util/u_format.h"
#include "util/u_time.h"
#include "math/m_api.h"
#include "os/os_threading.h"
#include <stdio.h>
#include <assert.h>
#include <pthread.h>
Include dependency graph for t_tracker_psvr.cpp:

Data Structures

class  TrackerPSVR
 

Functions

void t_psvr_push_imu (struct xrt_tracked_psvr *xtvr, timepoint_ns timestamp_ns, struct xrt_tracking_sample *sample)
 
void t_psvr_get_tracked_pose (struct xrt_tracked_psvr *xtvr, timepoint_ns when_ns, struct xrt_space_relation *out_relation)
 
void t_psvr_fake_destroy (struct xrt_tracked_psvr *xtvr)
 
void t_psvr_sink_push_frame (struct xrt_frame_sink *xsink, struct xrt_frame *xf)
 
void t_psvr_node_break_apart (struct xrt_frame_node *node)
 
void t_psvr_node_destroy (struct xrt_frame_node *node)
 
void * t_psvr_run (void *ptr)
 
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)
 

Detailed Description

PSVR tracker code.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Function Documentation

◆ t_psvr_create()

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 
)

◆ t_psvr_fake_destroy()

void t_psvr_fake_destroy ( struct xrt_tracked_psvr xtvr)

References TrackerPSVR::base, and container_of.

Referenced by t_psvr_create().

◆ t_psvr_get_tracked_pose()

void t_psvr_get_tracked_pose ( struct xrt_tracked_psvr xtvr,
timepoint_ns  when_ns,
struct xrt_space_relation out_relation 
)

References TrackerPSVR::base, and container_of.

Referenced by t_psvr_create().

◆ t_psvr_node_break_apart()

void t_psvr_node_break_apart ( struct xrt_frame_node node)

References container_of.

Referenced by t_psvr_create().

◆ t_psvr_node_destroy()

void t_psvr_node_destroy ( struct xrt_frame_node node)

References container_of.

Referenced by t_psvr_create().

◆ t_psvr_push_imu()

void t_psvr_push_imu ( struct xrt_tracked_psvr xtvr,
timepoint_ns  timestamp_ns,
struct xrt_tracking_sample sample 
)

References TrackerPSVR::base, and container_of.

Referenced by t_psvr_create().

◆ t_psvr_run()

void* t_psvr_run ( void *  ptr)

◆ t_psvr_sink_push_frame()

void t_psvr_sink_push_frame ( struct xrt_frame_sink xsink,
struct xrt_frame xf 
)

◆ t_psvr_start()

int t_psvr_start ( struct xrt_tracked_psvr xtvr)

References TrackerPSVR::base, and container_of.