Monado OpenXR Runtime
Files | Data Structures | Functions
North Star driver

Driver for the North Star HMD. More...

Collaboration diagram for North Star driver:

Files

file  ns_hmd.c
 North Star HMD code.
 
file  ns_hmd.h
 Interface between North Star distortion and HMD code.
 
file  ns_interface.h
 Interface to North Star driver code.
 
file  ns_prober.c
 North Star prober code.
 

Data Structures

struct  ns_uv
 Simple UV struct. More...
 
struct  ns_leap
 Configuration information about the LMC or Rigel sensor according to the configuration file. More...
 
struct  ns_eye
 Distortion information about an eye parsed from the configuration file. More...
 
struct  ns_hmd
 Information about the whole North Star headset. More...
 
struct  ns_mesh
 The mesh generator for the North Star distortion. More...
 

Functions

void ns_display_uv_to_render_uv (struct ns_uv display_uv, struct ns_uv *render_uv, struct ns_eye *eye)
 Convert the display UV to the render UV using the distortion mesh. More...
 
struct xrt_auto_proberns_create_auto_prober (void)
 Create a probe for NS devices. More...
 
struct xrt_devicens_hmd_create (const char *config_path, bool print_spew, bool print_debug)
 Create a North Star hmd. More...
 

Detailed Description

Driver for the North Star HMD.

Function Documentation

◆ ns_create_auto_prober()

struct xrt_auto_prober* ns_create_auto_prober ( void  )

#include <drivers/north_star/ns_interface.h>

Create a probe for NS devices.

References U_TYPED_CALLOC.

◆ ns_display_uv_to_render_uv()

void ns_display_uv_to_render_uv ( struct ns_uv  display_uv,
struct ns_uv render_uv,
struct ns_eye eye 
)

#include <drivers/north_star/ns_hmd.h>

Convert the display UV to the render UV using the distortion mesh.

◆ ns_hmd_create()

struct xrt_device* ns_hmd_create ( const char *  config_path,
bool  print_spew,
bool  print_debug 
)

#include <drivers/north_star/ns_interface.h>

Create a North Star hmd.