Monado OpenXR Runtime
|
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>
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) |
PS Move tracker code.
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 | ||
) |
References TrackerPSMV::base, xrt_frame_node::break_apart, xrt_tracked_psmv::colour, xrt_fusion::PSMVFusionInterface::create(), xrt_frame_node::destroy, xrt_tracked_psmv::destroy, TrackerPSMV::filter, TrackerPSMV::fusion, xrt_tracked_psmv::get_tracked_pose, TrackerPSMV::node, xrt_frame_sink::push_frame, xrt_tracked_psmv::push_imu, TrackerPSMV::rot, TrackerPSMV::sink, t_psmv_fake_destroy(), t_psmv_get_tracked_pose(), t_psmv_node_break_apart(), t_psmv_node_destroy(), t_psmv_push_imu(), t_psmv_sink_push_frame(), xrt_quat::w, xrt_quat::x, xrt_quat::y, and xrt_quat::z.
void t_psmv_fake_destroy | ( | struct xrt_tracked_psmv * | xtmv | ) |
References container_of.
Referenced by t_psmv_create().
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().
void t_psmv_node_break_apart | ( | struct xrt_frame_node * | node | ) |
References container_of.
Referenced by t_psmv_create().
void t_psmv_node_destroy | ( | struct xrt_frame_node * | node | ) |
References container_of.
Referenced by t_psmv_create().
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().
void* t_psmv_run | ( | void * | ptr | ) |
void t_psmv_sink_push_frame | ( | struct xrt_frame_sink * | xsink, |
struct xrt_frame * | xf | ||
) |
References container_of.
Referenced by t_psmv_create().
int t_psmv_start | ( | struct xrt_tracked_psmv * | xtmv | ) |
References container_of.