[Simulink aerospace toolbox - unreal engine] Altitude sensor is not working in custom scene

4 views (last 30 days)
Hi,
I'm trying to fly an aircraft in unreal engine.
From internet we downloaded an unreal engine scene but we are having troubles with the altitude sensor of the simulation 3D aircraft model (simulink).
The altitude of the aircraft is always 0 even if the aircraft is elevated wrt to the landscape.
The weird thing is that the lidar sensor is working properly.
Moreover the AutoVrtEnv scene is working properly.

Answers (1)

Anurag
Anurag on 31 Aug 2023
Hi Matteo,
I understand there may be some problems arising from using unreal engine and simulink together to model an airplane.
To address the altitude sensor issue, ensure proper configuration and calibration. Compare settings with a working scene, verify collision and physics interactions, and check data output accuracy. Confirm consistent coordinate systems, review scripting for errors, and validate scene scale and units. Check for software updates and seek community support if needed.
Hope this helped!

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!