mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-06 07:06:10 +00:00
xrt: Add tracking system type for Lighthouse
This commit is contained in:
parent
8f46d42d90
commit
23bd6a4377
|
@ -1184,6 +1184,7 @@ survive_found(struct xrt_prober *xp,
|
||||||
printf("survive: Assuming variant %d\n", ss->variant);
|
printf("survive: Assuming variant %d\n", ss->variant);
|
||||||
|
|
||||||
ss->ctx = actx;
|
ss->ctx = actx;
|
||||||
|
ss->base.type = XRT_TRACKING_TYPE_LIGHTHOUSE;
|
||||||
snprintf(ss->base.name, XRT_TRACKING_NAME_LEN, "%s",
|
snprintf(ss->base.name, XRT_TRACKING_NAME_LEN, "%s",
|
||||||
"Libsurvive Tracking");
|
"Libsurvive Tracking");
|
||||||
ss->base.offset.position.x = 0.0f;
|
ss->base.offset.position.x = 0.0f;
|
||||||
|
|
|
@ -45,6 +45,9 @@ enum xrt_tracking_type
|
||||||
|
|
||||||
// The device(s) are tracked by RGB camera(s).
|
// The device(s) are tracked by RGB camera(s).
|
||||||
XRT_TRACKING_TYPE_RGB,
|
XRT_TRACKING_TYPE_RGB,
|
||||||
|
|
||||||
|
// The device(s) are tracked by Ligthhouse
|
||||||
|
XRT_TRACKING_TYPE_LIGHTHOUSE,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Reference in a new issue