Skip to content

Struct ILLIXR::data_format::pose::combined_pose

ClassList > ILLIXR > data_format > pose > combined_pose

  • #include <combined_pose.hpp>

Inherits the following classes: switchboard::event

Public Attributes

Type Name
hand_interaction_poses_pair hand_interactions
hand_joint_poses_pair hand_poses
fast_head_pose_type head_pose
uint64_t id = 0
int64_t monotonic_to_system_offset_ns = 0
palm_poses_pair palm_poses
int64_t pose_xr_time_ns = 0
double smoothed_clock_offset_ns = 0.0
double smoothed_rtt_ns = 0.0
uint8_t valid_data = 0
int64_t xr_to_monotonic_offset_ns = 0

Public Functions

Type Name
combined_pose () = default
combined_pose (fast_head_pose_type & head, hand_joint_poses_pair & hands, palm_poses_pair & palms, hand_interaction_poses_pair & hand_interactions, uint64_t fid, int64_t pose_xr_time=0, int64_t xr_to_monotonic_offset=0, int64_t monotonic_to_system_offset=0, double smoothed_clock_offset=0., double smoothed_rtt=0.)

Public Attributes Documentation

variable hand_interactions

hand_interaction_poses_pair ILLIXR::data_format::pose::combined_pose::hand_interactions;

variable hand_poses

hand_joint_poses_pair ILLIXR::data_format::pose::combined_pose::hand_poses;

variable head_pose

fast_head_pose_type ILLIXR::data_format::pose::combined_pose::head_pose;

variable id

uint64_t ILLIXR::data_format::pose::combined_pose::id;

variable monotonic_to_system_offset_ns

int64_t ILLIXR::data_format::pose::combined_pose::monotonic_to_system_offset_ns;

Offset from headset CLOCK_MONOTONIC to headset system_clock: system_clock_ns = monotonic_ns + monotonic_to_system_offset_ns Computed once at session start by sampling both clocks together.


variable palm_poses

palm_poses_pair ILLIXR::data_format::pose::combined_pose::palm_poses;

variable pose_xr_time_ns

int64_t ILLIXR::data_format::pose::combined_pose::pose_xr_time_ns;

The XrTime (headset) at which the head pose was located. This is predictedDisplayTime from xrWaitFrame, in headset CLOCK_BOOTTIME nanoseconds (the headset OpenXR timebase).


variable smoothed_clock_offset_ns

double ILLIXR::data_format::pose::combined_pose::smoothed_clock_offset_ns;

Smoothed network clock offset (server system_clock - headset system_clock) in nanoseconds. Populated from network_latency_result by oxr_relay. Allows server to convert headset system_clock -> server system_clock.


variable smoothed_rtt_ns

double ILLIXR::data_format::pose::combined_pose::smoothed_rtt_ns;

Smoothed round trip time in nanoseconds. Used by pose_relay to add transmission latency to the prediction target time.


variable valid_data

uint8_t ILLIXR::data_format::pose::combined_pose::valid_data;

variable xr_to_monotonic_offset_ns

int64_t ILLIXR::data_format::pose::combined_pose::xr_to_monotonic_offset_ns;

Offset from headset XrTime to headset CLOCK_MONOTONIC: monotonic_ns = xr_time_ns + xr_to_monotonic_offset_ns Computed once via xrConvertTimespecTimeToTimeKHR at session start.


Public Functions Documentation

function combined_pose [1/2]

ILLIXR::data_format::pose::combined_pose::combined_pose () = default

function combined_pose [2/2]

inline ILLIXR::data_format::pose::combined_pose::combined_pose (
    fast_head_pose_type & head,
    hand_joint_poses_pair & hands,
    palm_poses_pair & palms,
    hand_interaction_poses_pair & hand_interactions,
    uint64_t fid,
    int64_t pose_xr_time=0,
    int64_t xr_to_monotonic_offset=0,
    int64_t monotonic_to_system_offset=0,
    double smoothed_clock_offset=0.,
    double smoothed_rtt=0.
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/include/illixr/data_format/poses/combined_pose.hpp