Using VR headset as an input to Simulink
古いコメントを表示
Hello,
I am looking for methods to integrate a VR headset as a coordinate input device in Simulink. My goal is to allow the user to look in a chosen direction, with the gaze angles (relative to a calibrated origin, where both Θ and Φ are 0°) represented in 3D polar coordinates. The distance is not a factor in this setup, and the headset includes its own built-in coordinate calibration.
I have already developed a Simulink system that processes external inputs and computes real-time responses (please see the attached image). I would like to incorporate the VR headset as an input to this system, replacing the pitch and yaw axis of a joystick.
Any suggestions on how to achieve this or references to relevant documentation would be greatly appreciated.

採用された回答
その他の回答 (1 件)
Velma
2025 年 6 月 13 日
0 投票
Cool project! You can stream VR headset data into Simulink using tools like Unity or Python with UDP or ROS. If your headset supports OpenVR/OpenXR, extracting gaze angles should be doable. Also, using wireless earbuds for gaming really helps during long testing sessions keeps things immersive and tangle-free. Let us know what headset you’re using!
カテゴリ
ヘルプ センター および File Exchange で Simulink 3D Animation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!