General Aviation
Customizable general aviation aircraft
Description
General Aviation is one of the aircraft that you can use within the 3D simulation environment. This environment is rendered using the Unreal Engine® from Epic Games®. This aircraft is designed to be customized with a user-supplied skeletal mesh; a sample skeletal mesh is provided in Views.
To add this type of vehicle to the 3D simulation environment:
Add a Simulation 3D Aircraft block to your Simulink® model.
In the Block Parameters dialog box, on the Aircraft Parameters tab, set the Type parameter to
General aviation
.On the Aircraft Parameters tab, set the Path to general aviation mesh parameter to either the sample mesh path or to your own general aviation skeletal mesh path. The sample skeletal mesh path is
/MathWorksAerospaceContent/Vehicles/Aircraft/GeneralAviation/Mesh/SK_GeneralAviation.SK_GeneralAviation”
.On the Initial Values tab, set the Initial translation (in meters) and Initial rotation (in radians) parameters to an array size that matches the general aviation aircraft, for example,
zeros(15,3)
.
Views
Lights and Skeleton
Lights
Light | Bone | Location in SK_GeneralAviation Mesh |
---|---|---|
Left landing | LandingLight_L | Nose cowling |
Right landing | LandingLight_R | Nose cowling |
Taxi | NoseGear_Light | N/A |
Red navigation | RedNavLight | Left wingtip |
Green navigation | GreenNavLight | Right wingtip |
Left wingtip strobe | StrobeLight_L | Left wingtip |
Right wingtip strobe | StrobeLight_R | Right wingtip |
Tail strobe | StrobeLight | Top of vertical stabilizer, pointing aft |
Position | PositionLight1 | N/A |
Beacon | BeaconLight1 | Top of vertical stabilizer |
Skeleton
GA
Engine1
Aileron_L
Aileron_R
Flap_L
Flap_R
Spoiler_L
Spoiler_R
Elevator_L
Elevator_R
Rudder
NoseGear
NoseGear_Wheel
NoseGear_Light
MainGear_L
MainGear_L_Wheel
MainGear_R
MainGear_R_Wheel
RedNavLight
GreenNavLight
StrobeLight_L
StrobeLight_R
LandingLight_L
LandingLight_R
BeaconLight1
StrobeLight
PositionLight1