I saw on YouTube that someone made a UDP-based control, so I tried it, and used the existing code on the Internet to modify and try it. The following is a schematic diagram, and the video link is hololens2 helicopter flight control test 02 .
The TCP/IP-based server-client code borrows from the Socket-based TCP communication system in HoloLens , and the drone control uses the simple demo in AssetStore.
Trample record
-
Problem: The joystick scene is packaged into an apk and runs on the phone with a black screen. Solution: The unity2019.4.7f1 version does not work, just replace it with the version that has fixed this bug on the official website. . .
-
After adding the RadialView script in MRTK, the UI will not be displayed on the HoloLens after packaging, just cancel the Smoothing. NearMenu/RadialView/Solvers disappears in HoloLens, Menu disappears from view, does not work properly