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

PS Move tracker code. More...

#include "xrt/xrt_tracking.h"
#include "tracking/t_tracking.h"
#include "tracking/t_calibration_opencv.hpp"
#include "tracking/t_tracker_psmv_fusion.hpp"
#include "tracking/t_helper_debug_sink.hpp"
#include "util/u_var.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_frame.h"
#include "util/u_format.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_psmv.cpp:

Data Structures

struct  View
 Single camera. More...
 
struct  TrackerPSMV
 
struct  FindLowestScore< ValueType, FunctionType >
 Helper struct that keeps the value that produces the lowest "score" as computed by your functor. More...
 

Functions

void t_psmv_push_imu (struct xrt_tracked_psmv *xtmv, timepoint_ns timestamp_ns, struct xrt_tracking_sample *sample)
 
void t_psmv_get_tracked_pose (struct xrt_tracked_psmv *xtmv, enum xrt_input_name name, timepoint_ns when_ns, struct xrt_space_relation *out_relation)
 
void t_psmv_fake_destroy (struct xrt_tracked_psmv *xtmv)
 
void t_psmv_sink_push_frame (struct xrt_frame_sink *xsink, struct xrt_frame *xf)
 
void t_psmv_node_break_apart (struct xrt_frame_node *node)
 
void t_psmv_node_destroy (struct xrt_frame_node *node)
 
void * t_psmv_run (void *ptr)
 
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)
 

Detailed Description

PS Move tracker code.

Author
Pete Black pblac.nosp@m.k@co.nosp@m.llabo.nosp@m.ra.c.nosp@m.om
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m
Ryan Pavlik ryan..nosp@m.pavl.nosp@m.ik@co.nosp@m.llab.nosp@m.ora.c.nosp@m.om

Function Documentation

◆ t_psmv_create()

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 
)

◆ t_psmv_fake_destroy()

void t_psmv_fake_destroy ( struct xrt_tracked_psmv xtmv)

References container_of.

Referenced by t_psmv_create().

◆ t_psmv_get_tracked_pose()

void t_psmv_get_tracked_pose ( struct xrt_tracked_psmv xtmv,
enum xrt_input_name  name,
timepoint_ns  when_ns,
struct xrt_space_relation out_relation 
)

References container_of.

Referenced by t_psmv_create().

◆ t_psmv_node_break_apart()

void t_psmv_node_break_apart ( struct xrt_frame_node node)

References container_of.

Referenced by t_psmv_create().

◆ t_psmv_node_destroy()

void t_psmv_node_destroy ( struct xrt_frame_node node)

References container_of.

Referenced by t_psmv_create().

◆ t_psmv_push_imu()

void t_psmv_push_imu ( struct xrt_tracked_psmv xtmv,
timepoint_ns  timestamp_ns,
struct xrt_tracking_sample sample 
)

References container_of.

Referenced by t_psmv_create().

◆ t_psmv_run()

void* t_psmv_run ( void *  ptr)

◆ t_psmv_sink_push_frame()

void t_psmv_sink_push_frame ( struct xrt_frame_sink xsink,
struct xrt_frame xf 
)

References container_of.

Referenced by t_psmv_create().

◆ t_psmv_start()

int t_psmv_start ( struct xrt_tracked_psmv xtmv)

References container_of.