|
Monado OpenXR Runtime
|
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 {} |
| 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.
| camera_sample | Camera frame with blobs |
| device_id | Device being tracked |
| led_model | LED model in device-local OpenCV space |
| calibration | Camera intrinsics |
| Txr_world_cam | World → Camera pose (OpenXR space) |
| Txr_cam_device | Camera → Device pose (OpenXR space) |
| Txr_world_device | World → Device pose (OpenXR space) |
| brightness | Average brightness of matched blobs |