Monado OpenXR Runtime
xrt_tracked_slam Interface Reference

An adapter that wraps an external SLAM tracker to provide SLAM tracking. More...

#include <xrt/xrt_tracking.h>

Inheritance diagram for xrt_tracked_slam:
Collaboration diagram for xrt_tracked_slam:

Public Member Functions

int t_slam_create (struct xrt_frame_context *xfctx, struct t_slam_tracker_config *config, struct xrt_tracked_slam **out_xts, struct xrt_slam_sinks **out_sink)
 
int t_slam_start (struct xrt_tracked_slam *xts)
 
static void xrt_tracked_slam_get_tracked_pose (struct xrt_tracked_slam *slam, timepoint_ns when_ns, struct xrt_space_relation *out_relation)
 

Data Fields

void(* get_tracked_pose )(struct xrt_tracked_slam *, timepoint_ns when_ns, struct xrt_space_relation *out_relation)
 Called by the owning xrt_device to get the last estimated pose of the SLAM tracker. More...
 

Detailed Description

An adapter that wraps an external SLAM tracker to provide SLAM tracking.

Devices that want to be tracked through SLAM should create and manage an instance of this type.

Field Documentation

◆ get_tracked_pose

void(* xrt_tracked_slam::get_tracked_pose) (struct xrt_tracked_slam *, timepoint_ns when_ns, struct xrt_space_relation *out_relation)

Called by the owning xrt_device to get the last estimated pose of the SLAM tracker.


The documentation for this interface was generated from the following files: