Main Content

Simulation 3D Airliner Pack

Generate translation and rotation information for generic airliner

Since R2023b

  • Simulation 3D Airliner Pack block icon

Libraries:
Aerospace Blockset / Animation / Simulation 3D

Description

The Simulation 3D Airliner Pack block creates translation and rotation information for the Simulation 3D Aircraft block with Type set to Airliner. Use the Simulation 3D Airliner Pack block to provide translation and rotation information to the Translation and Rotation input ports of the Simulation 3D Aircraft block.

Ports

Input

expand all

Body translation, specified as a 1-by-3 matrix.

Data Types: single | double

Body rotation, specified as a 1-by-3 matrix.

Data Types: single | double

Left engine rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left engine rotation parameter.

Data Types: single | double

Right engine rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right engine rotation parameter.

Data Types: single | double

Rudder rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Rudder rotation parameter.

Data Types: single | double

Elevator rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Elevator rotation parameter.

Data Types: single | double

Left aileron rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left aileron rotation parameter.

Data Types: single | double

Right aileron rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right aileron rotation parameter.

Data Types: single | double

Flaps rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Flaps rotation parameter.

Data Types: single | double

Nose wheel strut rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Nose wheel strut rotation parameter.

Data Types: single | double

Nose wheel rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Nose wheel rotation parameter.

Data Types: single | double

Left wheel rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Left wheel rotation parameter.

Data Types: single | double

Right wheel rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Right wheel rotation parameter.

Data Types: single | double

Output

expand all

Aircraft translation for generic airliner aircraft, returned as a 12-by-3 array. The signal contains translation [X, Y, Z], in meters, with one row of the array for each bone of the aircraft.

The translation applies to these bones of the Airliner type.

BoneIndex

BODY

1

LEFT_ENGINE

2

RIGHT_ENGINE

3

RUDDER

4

ELEVATOR

5

LEFT_AILERON

6

RIGHT_AILERON

7

FLAPS

8

NOSE_WHEEL_STRUT

9

NOSE_WHEEL

10

LEFT_WHEEL

11

RIGHT_WHEEL

12

Aircraft and wheel rotation for generic airliner, returned as a 12-by-3 array.

The rotation applies to the same bones as listed for the Translation port.

The signal contains the rotation [roll, pitch, yaw], in radians, with one row of the array for each bone of the aircraft.

Parameters

expand all

Propulsion

Select this parameter to enable the Left_Engine_R input port.

Programmatic Use

Block Parameter: Left_Engine_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Engine_R input port.

Programmatic Use

Block Parameter: Right_Engine_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Controls

Select this parameter to enable the Rudder_R input port.

Programmatic Use

Block Parameter: Rudder_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Elevator_R input port.

Programmatic Use

Block Parameter: Elevator_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Aileron_R input port.

Programmatic Use

Block Parameter: Left_Aileron_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Aileron_R input port.

Programmatic Use

Block Parameter: Right_Aileron_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Flaps_R input port.

Programmatic Use

Block Parameter: Flaps_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Gear

Select this parameter to enable the Nose_Wheel_Strut_R input port.

Programmatic Use

Block Parameter: Nose_Wheel_Strut_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Nose_Wheel_R input port.

Programmatic Use

Block Parameter: Nose_Wheel_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Left_Wheel_R input port.

Programmatic Use

Block Parameter: Left_Wheel_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Select this parameter to enable the Right_Wheel_R input port.

Programmatic Use

Block Parameter: Right_Wheel_R
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Geospatial

Select the input coordinate frame to position aerospace vehicles with respect to north-east-down (NED) or the Earth center (ECEF). Use this parameter with the Use Earth center as origin (ECEF) parameter of the Simulation 3D Scene Configuration block.

Programmatic Use

To set the block parameter value programmatically, use the set_param function.

To get the block parameter value programmatically, use the get_param function.

Parameter: GeoRadioButton
Values: 'NED' (default) | 'ECEF'

Select this parameter to enable the geospatial correction to the input body translation and rotation.

Dependencies

To enable this parameter, set Select input coordinate frame to NED.

Programmatic Use

Block Parameter: AdjustForCesium
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Specify the compass direction of the x-axis, specified as a real scalar, in degrees.

Dependencies

To enable this parameter:

  • Set Select input coordinate frame to NED

  • Select Enable geospatial correction

Programmatic Use

Block Parameter: Heading0
Type: character vector
Values: 90 | real scalar
Default: '90'

Version History

Introduced in R2023b

expand all