Using VR headset as an input to Simulink

13 vues (au cours des 30 derniers jours)
Oscar Su
Oscar Su le 20 Août 2024
Réponse apportée : Deep le 27 Août 2024
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.

Réponse acceptée

Deep
Deep le 27 Août 2024
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!

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by