Main Content

General Aviation

Customizable general aviation aircraft

Since R2021b

Description

Front view of general aviation aircraft.

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.

Simulating models in the 3D visualization environment requires Simulink® 3D Animation™.

To add this type of vehicle to the 3D simulation environment:

  1. Add a Simulation 3D Aircraft block to your Simulink model.

  2. In the Block Parameters dialog box, on the Aircraft Parameters tab, set the Type parameter to General aviation.

  3. 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”.

  4. 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).

Data for Aircraft Placement

The General Aviation sample mesh origin is near its center of mass, 1.646 meters above the bottoms of the tires. To correctly place the aircraft, consider using these values.

Airport Scene Placement

To place the General Aviation mesh in the Airport scene resting on the pavement or other hard surface, which is at a Z of 1 centimeter, use the following body translation and rotation values.

Body Motion Ports and ParametersValue
Translation port and Initial translation parameter[0, 0, -1.646] + [0, 0, -0.01]
Rotation port and Initial rotation parameter[0, 0, 0]

Altitude Sensor

For the altitude sensor in the Simulation 3D Aircraft block, use these values.

ParameterValue
Body Z offset (m)1.6459
Front tire radius (m)0.215
Left tire radius (m)0.215
Right tire radius (m)0.215

Views

expand all

Top-down view of general aviation aircraft.

Side view of general aviation aircraft.

Front view of general aviation aircraft.

Back view of general aviation aircraft.

Lights and Skeleton

Lights

LightBoneLocation in SK_GeneralAviation Mesh
Left landingLandingLight_LNose cowling
Right landingLandingLight_RNose cowling
TaxiNoseGear_LightN/A
Red navigationRedNavLightLeft wingtip
Green navigationGreenNavLightRight wingtip
Left wingtip strobeStrobeLight_LLeft wingtip
Right wingtip strobeStrobeLight_RRight wingtip
Tail strobeStrobeLightTop of vertical stabilizer, pointing aft
PositionPositionLight1N/A
BeaconBeaconLight1Top 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

Version History

Introduced in R2021b