Monado OpenXR Runtime
xrt::auxiliary::tracking::psvr::TrackerPSVR Class Reference

Main PSVR tracking class. More...

Collaboration diagram for xrt::auxiliary::tracking::psvr::TrackerPSVR:

Data Fields

EIGEN_MAKE_ALIGNED_OPERATOR_NEW struct xrt_tracked_psvr base = {}
 
struct xrt_frame_sink sink = {}
 
struct xrt_frame_node node = {}
 
enum u_logging_level log_level
 Logging stuff. More...
 
struct xrt_frameframe
 Frame waiting to be processed. More...
 
struct os_thread_helper oth
 Thread and lock helper. More...
 
bool has_imu = false
 Have we received a new IMU sample. More...
 
timepoint_ns last_imu {0}
 
struct {
   struct xrt_vec3   pos = {}
 
   struct m_imu_3dof   imu_3dof
 
fusion
 
struct {
   struct xrt_vec3   pos = {}
 
   struct xrt_quat   rot = {}
 
optical
 
Eigen::Quaternionf target_optical_rotation_correction
 
Eigen::Quaternionf optical_rotation_correction
 
Eigen::Matrix4f corrected_imu_rotation
 
Eigen::Quaternionf axis_align_rot
 
model_vertex_t model_vertices [7]
 
std::vector< match_data_tlast_vertices
 
uint32_t last_optical_model
 
cv::KalmanFilter track_filters [7]
 
cv::KalmanFilter pose_filter
 
View view [2]
 
bool calibrated
 
HelperDebugSink debug = {HelperDebugSink::AllAvailable}
 
cv::Mat disparity_to_depth
 
cv::Vec3d r_cam_translation
 
cv::Matx33d r_cam_rotation
 
cv::Ptr< cv::SimpleBlobDetector > sbd
 
std::vector< cv::KeyPoint > l_blobs
 
std::vector< cv::KeyPoint > r_blobs
 
std::vector< match_model_tmatches
 
std::vector< blob_point_tworld_points
 
std::vector< blob_point_tpruned_points
 
std::vector< blob_point_tmerged_points
 
std::vector< match_data_tmatch_vertices
 
float avg_optical_correction
 
bool done_correction
 
float max_correction
 
uint32_t bad_correction_count
 
Eigen::Matrix4f last_pose
 
uint64_t last_frame
 
Eigen::Vector4f model_center
 

Detailed Description

Main PSVR tracking class.

Field Documentation

◆ frame

struct xrt_frame* xrt::auxiliary::tracking::psvr::TrackerPSVR::frame

Frame waiting to be processed.

◆ has_imu

bool xrt::auxiliary::tracking::psvr::TrackerPSVR::has_imu = false

Have we received a new IMU sample.

◆ log_level

enum u_logging_level xrt::auxiliary::tracking::psvr::TrackerPSVR::log_level

Logging stuff.

◆ oth

struct os_thread_helper xrt::auxiliary::tracking::psvr::TrackerPSVR::oth

Thread and lock helper.

Referenced by xrt::auxiliary::tracking::psvr::get_pose().


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