Monado OpenXR Runtime
target_builder_rgb_tracking.c File Reference

Builder to setup rgb tracking devices into a system. More...

#include "xrt/xrt_compiler.h"
#include "xrt/xrt_config_have.h"
#include "xrt/xrt_config_drivers.h"
#include "xrt/xrt_prober.h"
#include "xrt/xrt_settings.h"
#include "xrt/xrt_frameserver.h"
#include "util/u_sink.h"
#include "util/u_misc.h"
#include "util/u_device.h"
#include "util/u_logging.h"
#include "util/u_builders.h"
#include "util/u_config_json.h"
#include "util/u_system_helpers.h"
#include "target_builder_interface.h"
#include "simulated/simulated_interface.h"
#include "tracking/t_tracking.h"
#include <assert.h>
Include dependency graph for target_builder_rgb_tracking.c:

Data Structures

struct  build_state
 

Functions

static bool get_settings (cJSON *json, struct xrt_settings_tracking *settings)
 
static void on_video_device (struct xrt_prober *xp, struct xrt_prober_device *pdev, const char *product, const char *manufacturer, const char *serial, void *ptr)
 
static void setup_pipeline (struct xrt_prober *xp, struct build_state *build)
 
static xrt_result_t rgb_estimate_system (struct xrt_builder *xb, cJSON *config, struct xrt_prober *xp, struct xrt_builder_estimate *estimate)
 
static xrt_result_t rgb_open_system_impl (struct xrt_builder *xb, cJSON *config, struct xrt_prober *xp, struct xrt_tracking_origin *origin, struct xrt_system_devices *xsysd, struct xrt_frame_context *xfctx, struct u_builder_roles_helper *ubrh)
 
static void rgb_destroy (struct xrt_builder *xb)
 
struct xrt_buildert_builder_rgb_tracking_create (void)
 RGB tracking based drivers, like PS Move driver and PSVR driver. More...
 

Variables

static const char * driver_list []
 

Detailed Description

Builder to setup rgb tracking devices into a system.

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

Function Documentation

◆ t_builder_rgb_tracking_create()

struct xrt_builder * t_builder_rgb_tracking_create ( void  )

RGB tracking based drivers, like PS Move driver and PSVR driver.

References u_builder::base, xrt_builder::estimate_system, and U_TYPED_CALLOC.

Variable Documentation

◆ driver_list

const char* driver_list[]
static
Initial value:
= {
}