Put not requested tracking on standby
This commit is contained in:
@@ -118,12 +118,13 @@ static xrt_hand_joint_set convert_joints(const std::optional<std::array<from_hea
|
||||
return output_joints;
|
||||
}
|
||||
|
||||
void hand_joints_list::update_tracking(const from_headset::hand_tracking & tracking, const clock_offset & offset)
|
||||
bool hand_joints_list::update_tracking(const from_headset::hand_tracking & tracking, const clock_offset & offset)
|
||||
{
|
||||
if (tracking.hand == hand_id)
|
||||
add_sample(
|
||||
return add_sample(
|
||||
tracking.production_timestamp,
|
||||
tracking.timestamp,
|
||||
convert_joints(tracking.joints),
|
||||
offset);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user