Usage of INS, GPS sensors and trajectories in 3D Unreal Engine Scenario (UAV Toolbox)
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello,
I wanted to ask if it is possible to use INS and GPS sensors in the 3D Environment of the Unreal Engine.
I would need to have the following sensors in my simulation: camera, Lidar, INS and GPS.
From the online documentation it is not clear for me if INS and GPS sensors are available in the 3D Unreal Engine Environment.
Also i wanted to ask if you could set the UAV state in the 3D Unreal Engine Scenario for each simulation step. (state: position, velocity, rotation (euler angles))
Thanks in advance and with best regards
Felix
댓글 수: 1
답변 (1개)
Jianxin Sun
2021년 5월 10일
Hi Felix,
For GPS sensor in Simulink, currently there is no out of box blocks for it. But you can create a MATLAB function block or MATLAB system block and use the gpsSensor object from MATLAB to simulate GPS sensor. Similarly you can use insSensor from MATLAB as well.
If you have access to Navigation Toolbox or Sensor Fusion and Tracking Toolbox, you can use the INS block directly.
It requires the ground truth position and velocity of your UAV from UAV plant model to simulate these GPS and INS sensor. You should be able to simulate them in parallel with the Unreal Engine Scenario.
You can set the UAV state in Unreal Engine Scenario for each simulation step using Simulation 3D UAV Vehicle block and Simulation 3D Configuration block with sample time setting that matches your simulation step size.
Thanks,
Jianxin
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!