Simulation 3D Camera gimbal in UAV Toolbox
이전 댓글 표시
Hello,
I am using the Scenario Simulation blocks to implement an autonomous mission for fixed-wing UAVs, with the possibility of including Computer Vision. I would like to know if there is a possibility to implement a gimbal for the Simulation 3D Camera, since I want a steady image during turns.
Thank you in advance.
답변 (1개)
Jianxin Sun
2024년 1월 17일
0 개 추천
Hi Arnau,
You can refer to the Simulation 3D Camera documentation https://www.mathworks.com/help/uav/ref/simulation3dcamera.html.
The relative translation and relative rotation parameters can be adjusted during simulation to simulate gimbal. You will need to compute the necessary relative rotation during simulation that will point camera towards the object based on the position of the UAV and position of the object.
Thanks,
Jianxin
댓글 수: 3
泽凯
2024년 12월 27일
Hello Jianxin,
I have the same problem when I use Simulation 3D Lidar, however this block doesn't have relative rotation input port, how can I solve it?
Jianxin Sun
2025년 1월 2일
These parameters should be available in 2024b MATLAB release. If you are using older releases, you could consider add a small simulation 3d actor (https://www.mathworks.com/help/sl3d/simulation3dactor.html) and mount the lidar to the actor. Then computed the complete transform from the sensor to the Unreal reference frame and send it to the actor.
泽凯
2025년 1월 15일
hello Jianxin Sun,
I have downloaded the 2024b MATLAB release, but I don't see the relative rotation input port in the Simulation 3D Lidar.
카테고리
도움말 센터 및 File Exchange에서 Simulink 3D Animation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!