Update monado
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
bd9a43c9d1a43d2ddece158d98387a7c9b872c6b
|
||||
f46d3cdefba6fa220a473fc3db7f24767d1b9f26
|
||||
|
||||
@@ -769,7 +769,7 @@ xrt_result_t wivrn_controller::get_tracked_pose(xrt_input_name name, int64_t at_
|
||||
return XRT_SUCCESS;
|
||||
}
|
||||
|
||||
void wivrn_controller::get_hand_tracking(xrt_input_name name, int64_t desired_timestamp_ns, xrt_hand_joint_set * out_value, int64_t * out_timestamp_ns)
|
||||
xrt_result_t wivrn_controller::get_hand_tracking(xrt_input_name name, int64_t desired_timestamp_ns, xrt_hand_joint_set * out_value, int64_t * out_timestamp_ns)
|
||||
{
|
||||
switch (name)
|
||||
{
|
||||
@@ -780,12 +780,13 @@ void wivrn_controller::get_hand_tracking(xrt_input_name name, int64_t desired_ti
|
||||
std::tie(extrapolation_time, *out_value) = joints.get_at(desired_timestamp_ns);
|
||||
cnx->add_predict_offset(extrapolation_time);
|
||||
cnx->set_enabled(joints.hand_id == 0 ? to_headset::tracking_control::id::left_hand : to_headset::tracking_control::id::right_hand, true);
|
||||
return;
|
||||
return XRT_SUCCESS;
|
||||
}
|
||||
|
||||
default:
|
||||
U_LOG_W("Unknown input name requested %d", int(name));
|
||||
}
|
||||
return XRT_ERROR_INPUT_UNSUPPORTED;
|
||||
}
|
||||
|
||||
void wivrn_controller::set_derived_pose(const from_headset::derived_pose & derived)
|
||||
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
xrt_result_t update_inputs();
|
||||
|
||||
xrt_result_t get_tracked_pose(xrt_input_name name, int64_t at_timestamp_ns, xrt_space_relation * out_relation);
|
||||
void get_hand_tracking(xrt_input_name name, int64_t desired_timestamp_ns, xrt_hand_joint_set * out_value, int64_t * out_timestamp_ns);
|
||||
xrt_result_t get_hand_tracking(xrt_input_name name, int64_t desired_timestamp_ns, xrt_hand_joint_set * out_value, int64_t * out_timestamp_ns);
|
||||
|
||||
void set_output(xrt_output_name name, const xrt_output_value * value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user