Using VR headset as an input to Simulink

13 ビュー (過去 30 日間)
Oscar Su
Oscar Su 2024 年 8 月 20 日
回答済み: Deep 2024 年 8 月 27 日
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.

採用された回答

Deep
Deep 2024 年 8 月 27 日
Hi Oscar,
To integrate a VR headset as a coordinate input device in your Simulink model, you can utilize the capabilities of Simulink 3D Animation with Unreal Engine.
In Unreal Engine, you can create VR actors, which are interactive entities within your simulation. To learn more, I suggest referring to additional Unreal Engine and VR development tutorials of your liking available on the internet.
Here are some resources to help you get started with integrating Simulink with Unreal Engine:
  1. Using Unreal Engine with Simulink- https://www.mathworks.com/videos/series/using-unreal-engine-with-simulink.html
  2. Unreal Engine Simulation Environment Requirements and Limitations - https://www.mathworks.com/help/sl3d/unreal-engine-simulation-environment-requirements-and-limitations.html
I hope this helps!

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by