Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt::tracking::constellation::RerunContext Struct Reference
Collaboration diagram for xrt::tracking::constellation::RerunContext:

Public Member Functions

void LogTrackedFrame (const CameraSample &camera_sample, t_constellation_device_id_t device_id, const t_constellation_tracker_led_model &led_model, const t_camera_calibration &calibration, const xrt_pose &Txr_world_cam, const xrt_pose &Txr_cam_device, const xrt_pose &Txr_world_device, float brightness)
 Log a tracked frame to Rerun.
 

Data Fields

std::unique_ptr< rerun::RecordingStream > stream {}
 

Member Function Documentation

◆ LogTrackedFrame()

void xrt::tracking::constellation::RerunContext::LogTrackedFrame ( const CameraSample camera_sample,
t_constellation_device_id_t  device_id,
const t_constellation_tracker_led_model led_model,
const t_camera_calibration calibration,
const xrt_pose Txr_world_cam,
const xrt_pose Txr_cam_device,
const xrt_pose Txr_world_device,
float  brightness 
)

Log a tracked frame to Rerun.

All pose parameters must be in OpenXR coordinate space (Y-up). They will be converted to OpenCV space (Y-down) internally for logging.

Parameters
camera_sampleCamera frame with blobs
device_idDevice being tracked
led_modelLED model in device-local OpenCV space
calibrationCamera intrinsics
Txr_world_camWorld → Camera pose (OpenXR space)
Txr_cam_deviceCameraDevice pose (OpenXR space)
Txr_world_deviceWorld → Device pose (OpenXR space)
brightnessAverage brightness of matched blobs

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