how to build 3D simulation of a model?
조회 수: 8 (최근 30일)
이전 댓글 표시
Hello,
I'm interested in building 3D model of quadrocopter in Matlab, but I have no idea how to build 3D model in matlab.
My goal is to express my dynamic model and thesis in a simulation model in matlab.
댓글 수: 3
Nishan Nekoo
2024년 1월 11일
Simulink 3D Animation is a great starting point to build 3D simulations of your model. Starting in R2024a, Simulink 3D Animation contains a suite of basic scenes, actors and sensors that will allow you build 3D simulations using an interface to the Unreal Engine from Epic Games. If you want a domain-specific 3D Simulation such as the quadcopter in your case, use the UAV Toolbox with Simulink 3D Animation to use the Simulation 3D UAV Vehicle, a pre-built asset that you can simulate in Unreal Engine.
@Kavita Bhagat Building a 3D room is possible using the createShape function that is part of the sim3D API and can be used as part of the initialization script of a Simulation 3D Actor by adding primitives such as planes and boxes to form a room. See this example with a platform and the robots encased using primitives.
채택된 답변
Nishan Nekoo
2024년 1월 11일
편집: Nishan Nekoo
2024년 1월 11일
Simulink 3D Animation is a great starting point to build 3D simulations of your model. Starting in R2024a, Simulink 3D Animation contains a suite of basic scenes, actors and sensors that will allow you build 3D simulations using an interface to the Unreal Engine from Epic Games. If you want a domain-specific 3D Simulation such as the quadcopter in your case, use the UAV Toolbox with Simulink 3D Animation to use the Simulation 3D UAV Vehicle, a pre-built asset that you can simulate in Unreal Engine
댓글 수: 0
추가 답변 (1개)
Jan Danek
2013년 9월 4일
Hi Martin,
With simulation of quadrucopter, you are perhaps interested in both quadrucopter model itself, and in surrounding scene in which it is supposed to operate.
With Quadrucopter, you can start with a simple representation (2 crossed beams, 4 cylinders, 1 box in the middle to represent batteries/ECU). This can be easily done using Simulink 3D Animation 3D World Editor. The Editor also provides several simple scenes (try "New from template" - Aerodrome_1) in which you can place your Quadrucopter.
Once you are satisfied with the behaviour of the dynamical quadrucopter model (Plant dynamics / Controller / control device input modelled in Simulink), you can replace a trivial Quadrucopter model with something more resembling a real aircraft - export the corresponding VRML model from a CAD tool and include (inline) it in your main scene.
Good luck,
Jan
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!