Main Content

Simulation 3D Light Helicopter Pack

Generate translation and rotation information for light helicopter

Since R2023b

  • Simulation 3D Light Helicopter Pack block icon

Libraries:
Aerospace Blockset / Animation / Simulation 3D

Description

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

Ports

Input

expand all

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

Data Types: single | double

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

Dependencies

To enable this port, select the Engine translation parameter.

Data Types: single | double

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

Dependencies

To enable this port, select the Rotor 1 translation parameter.

Data Types: single | double

Rotor 2 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Rotor 2 translation parameter.

Data Types: single | double

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

Dependencies

To enable this port, select the Sensor 1 translation parameter.

Data Types: single | double

Sensor 2 translation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Sensor 2 translation parameter.

Data Types: single | double

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

Data Types: single | double

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

Dependencies

To enable this port, select the Engine rotation parameter.

Data Types: single | double

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

Dependencies

To enable this port, select the Rotor 1 rotation parameter.

Data Types: single | double

Rotor 2 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Rotor 2 rotation parameter.

Data Types: single | double

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

Dependencies

To enable this port, select the Sensor 1 rotation parameter.

Data Types: single | double

Sensor 2 rotation, specified as a 1-by-3 matrix.

Dependencies

To enable this port, select the Sensor 2 rotation parameter.

Data Types: single | double

Output

expand all

Rotorcraft translation for light helicopter, returned as a 6-by-3 array. The signal contains translation [X, Y, Z], in meters, with one row of the array for each bone of the rotorcraft.

The translation applies to these bones of the Light helicopter type.

BoneIndex

BODY

1

ENGINE

2

ROTOR1

3

ROTOR2

4

SENSOR1

5

SENSOR2

6

Rotorcraft rotation for light helicopter, returned as a 6-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 rotorcraft.

Parameters

expand all

Propulsion

Select this parameter to enable the Engine_T input port.

Programmatic Use

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

Select this parameter to enable the Rotor1_T input port.

Programmatic Use

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

Select this parameter to enable the Rotor2_T input port.

Programmatic Use

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

Select this parameter to enable the Engine_R input port.

Programmatic Use

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

Select this parameter to enable the Rotor1_R input port.

Programmatic Use

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

Select this parameter to enable the Rotor2_R input port.

Programmatic Use

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

Sensors

Select this parameter to enable the Sensor1_T input port.

Programmatic Use

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

Select this parameter to enable the Sensor2_T input port.

Programmatic Use

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

Select this parameter to enable the Sensor1_R input port.

Programmatic Use

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

Select this parameter to enable the Sensor2_R input port.

Programmatic Use

Block Parameter: Sensor2_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