[英]How can I add basic near interaction to HoloLens 1 using MRTK?
Possibly related to How can I simulate hand rays on HoloLens 1?可能与如何在 HoloLens 1 上模拟手部光线有关?
I want to use HoloLens 1 devices to simulate basic near interactions as provided by HoloLens 2.我想使用 HoloLens 1 设备来模拟 HoloLens 2 提供的基本近距离交互。
Specifically, how can I perform the following mappings:具体来说,如何执行以下映射:
Since HL1 does not track hand orientation, I expect these need to be estimated similar to the example with hand rays.由于 HL1 不跟踪手的方向,我希望这些估计需要类似于手部光线的示例。
I have tried creating a custom pointer per the answer above, and it works for hand rays but not for poke/grab as far as I can tell.我已经尝试根据上面的答案创建一个自定义指针,据我所知,它适用于手部光线,但不适用于戳/抓。
I've also created a custom poke pointer according to the example for WMR controllers at How to mimic HoloLens 2 hand tracking wIth Windows Mixed Reality controllers [MRTK2]?我还根据如何使用 Windows 混合现实控制器 [MRTK2] 模仿 HoloLens 2 手部跟踪中的 WMR 控制器示例创建了一个自定义戳指针? , and assigned it to the GGV controller in the same fashion, but somehow the hands don't seem to get detected for poke (or grab), only for hand rays. ,并以相同的方式将其分配给 GGV controller,但不知何故,手似乎没有被检测到戳(或抓),仅检测到手部光线。
(I'm using the Grab pose since HL1 does not seem to return index finger pose during Ready gesture, and since pointer pose seems to refer to the gaze pointer for HL1) (我正在使用 Grab 姿势,因为 HL1 在就绪手势期间似乎没有返回食指姿势,并且由于指针姿势似乎指的是 HL1 的凝视指针)
Ok,好的,
In case someone else is trying to get near interactions on HoloLens 1, this is how I got it working in the end:如果其他人试图在 HoloLens 1 上进行近距离交互,这就是我最终让它工作的方式:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.