Monado OpenXR Runtime
Loading...
Searching...
No Matches
led_search_model.c File Reference

LED search model management code. More...

#include "math/m_api.h"
#include "led_search_model.h"
Include dependency graph for led_search_model.c:

Data Structures

struct  led_candidate_sort_entry
 

Macros

#define PROJECTED_DISTANCE   0
 
#define DUMP_FULL_DEBUG   0
 
#define POW2(_x)   ((_x) * (_x))
 

Functions

static double calc_led_dist (const struct t_constellation_search_led_candidate *c, const struct t_constellation_tracker_led *anchor, struct xrt_vec3 *out_led_pos)
 
static int compare_led_distance (const void *elem1, const void *elem2)
 
static struct t_constellation_search_led_candidatet_constellation_search_led_candidate_new (struct t_constellation_tracker_led *led, struct t_constellation_tracker_led_model *led_model)
 
static void t_constellation_search_led_candidate_free (struct t_constellation_search_led_candidate *candidate)
 
struct t_constellation_search_modelt_constellation_search_model_new (t_constellation_device_id_t device_id, struct t_constellation_tracker_led_model *led_model)
 
void t_constellation_search_model_free (struct t_constellation_search_model *model)
 

Detailed Description

LED search model management code.

Author
Jan Schmidt jan@c.nosp@m.entr.nosp@m.icula.nosp@m.r.co.nosp@m.m
Beyley Cardellio ep1cm.nosp@m.1n10.nosp@m.n123@.nosp@m.gmai.nosp@m.l.com