Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt_tracking_origin Struct Reference

A tracking system or device origin. More...

#include <xrt/xrt_tracking.h>

Inheritance diagram for xrt_tracking_origin:
Collaboration diagram for xrt_tracking_origin:

Data Fields

struct xrt_tracking_origin_id id
 Instance identifier, see xrt_tracking_origin_id.
 
char name [256]
 For debugging.
 
enum xrt_tracking_type type
 What can the state tracker expect from this tracking system.
 
struct xrt_pose initial_offset
 Read-only.
 

Detailed Description

A tracking system or device origin.

Tracking systems will typically extend this structure.

Field Documentation

◆ id

struct xrt_tracking_origin_id xrt_tracking_origin::id

Instance identifier, see xrt_tracking_origin_id.

Assigned by whatever allocates the tracking origin, normally the driver. Must be set before the tracking origin is handed to the rest of the system and not changed afterwards.

Referenced by ipcproto.common.Call::__init__(), create_xto_space_write_locked(), and ipc_client_tracking_origin_manager_get().

◆ initial_offset

struct xrt_pose xrt_tracking_origin::initial_offset

Read-only.

Set once by the builder, or in some cases, the driver. With some systems, the offset may be changed at runtime using the space overseer.

Referenced by create_xto_space_write_locked(), CDeviceDriver_Monado_Controller::GetPose(), CDeviceDriver_Monado::GetPose(), hydra_found(), ipc_client_tracking_origin_manager_get(), remote_builder_setup_space_overseer(), and u_builder_setup_tracking_origins().

◆ name

◆ type


The documentation for this struct was generated from the following file: