Implement derived poses

Client can describe a pose to be derived from an other one, for instance
AIM can be derived from GRIP by applying an offset and rotation.
This reduces the amount of data that needs to be polled and transmitted
over the network.
This commit is contained in:
Patrick Nicolas
2025-01-31 15:35:28 +01:00
parent 8449e7eafc
commit a6c64f297d
10 changed files with 157 additions and 30 deletions
+3
View File
@@ -1180,6 +1180,9 @@ void scenes::stream::on_xr_event(const xr::event & event)
.view_index = uint8_t(event.visibility_mask_changed.viewIndex),
});
break;
case XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED:
on_interaction_profile_changed(event.interaction_profile_changed);
break;
default:
break;
}