Simulation 3D Helicopter Pack
Libraries:
Aerospace Blockset /
Animation /
Simulation 3D
Description
The Simulation 3D Helicopter Pack block creates translation and rotation
information for the Simulation 3D Rotorcraft block with
Type set to Helicopter
. Use the
Simulation 3D Helicopter Pack block to provide translation and rotation
information to the Translation and Rotation input
ports of the Simulation 3D Rotorcraft block.
Ports
Input
Body translation, specified as a 1-by-3 matrix.
Data Types: single
| double
Engine 1 translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Engine 1 translation parameter.
Data Types: single
| double
Engine 2 translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Engine 2 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
Nose gear translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Nose gear translation parameter.
Data Types: single
| double
Nose wheel translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Nose wheel translation parameter.
Data Types: single
| double
Nose gear door 1 translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Nose gear door 1 translation check box.
Data Types: single
| double
Nose gear door 2 translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Nose gear door 2 translation check box.
Data Types: single
| double
Left gear translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Left gear translation parameter.
Data Types: single
| double
Left wheel translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Left wheel translation parameter.
Data Types: single
| double
Left gear door 1 translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Left gear door 1 translation check box.
Data Types: single
| double
Left gear door 2 translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Left gear door 2 translation check box.
Data Types: single
| double
Right gear translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Right gear translation parameter.
Data Types: single
| double
Right wheel translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Right wheel translation parameter.
Data Types: single
| double
Right gear door 1 translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Right gear door 1 translation check box.
Data Types: single
| double
Right gear door 2 translation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Right gear door 2 translation check box.
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 1 rotation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Engine 1 rotation parameter.
Data Types: single
| double
Engine 2 rotation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Engine 2 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
Nose gear rotation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Nose gear 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
Nose gear door 1 rotation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Nose gear door 1 rotation check box.
Data Types: single
| double
Nose gear door 2 rotation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Nose gear door 2 rotation check box.
Data Types: single
| double
Left gear rotation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Left gear 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
Left gear door 1 rotation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Left gear door 1 rotation check box.
Data Types: single
| double
Left gear door 2 rotation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Left gear door 2 rotation check box.
Data Types: single
| double
Right gear rotation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Right gear 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
Right gear door 1 rotation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Right gear door 1 rotation check box.
Data Types: single
| double
Right gear door 2 rotation, specified as a 1-by-3 matrix.
Dependencies
To enable this port, select the Right gear door 2 rotation check box.
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
Helicopter translation for helicopter rotorcraft, returned as an
19
-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
Helicopter
type.
Bone | Index |
---|---|
BODY | 1 |
ENGINE1 | 2 |
ENGINE2 | 3 |
ROTOR1 | 4 |
ROTOR2 | 5 |
NOSE_GEAR | 6 |
NOSE_WHEEL | 7 |
NOSE_GEAR_DOOR1 | 8 |
NOSE_GEAR_DOOR2 | 9 |
LEFT_GEAR | 10 |
LEFT_WHEEL | 11 |
LEFT_GEAR_DOOR1 | 12 |
LEFT_GEAR_DOOR2 | 13 |
RIGHT_GEAR | 14 |
RIGHT_WHEEL | 15 |
RIGHT_GEAR_DOOR1 | 16 |
RIGHT_GEAR_DOOR2 | 17 |
SENSOR1 | 18 |
SENSOR2 | 19 |
Rotorcraft rotation for helicopter rotorcraft, returned as an
19
-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
Propulsion
Select this parameter to enable the Engine1_T input port.
Programmatic Use
Block Parameter: Engine1_T |
Type: character vector |
Values: 'on' | 'off' |
Default: 'off' |
Select this parameter to enable the Engine2_T input port.
Programmatic Use
Block Parameter: Engine2_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 Engine1_R input port.
Programmatic Use
Block Parameter: Engine1_R |
Type: character vector |
Values: 'on' | 'off' |
Default: 'off' |
Select this parameter to enable the Engine2_R input port.
Programmatic Use
Block Parameter: Engine2_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' |
Gear
Select this parameter to enable the Nose_Gear_T input port.
Programmatic Use
Block Parameter: Nose_Gear_T |
Type: character vector |
Values: 'on' | 'off' |
Default: 'off' |
Select this parameter to enable the Nose_Wheel_T input port.
Programmatic Use
Block Parameter: Nose_Wheel_T |
Type: character vector |
Values: 'on' | 'off' |
Default: 'off' |
Select this check box to enable the Nose_Gear_Door1_T input port.
Programmatic Use
Block Parameter:
Nose_Gear_Door1_T |
Type: character vector |
Values: 'on' |
'off' |
Default: 'off' |
Select this check box to enable the Nose_Gear_Door2_T input port.
Programmatic Use
Block Parameter:
Nose_Gear_Door2_T |
Type: character vector |
Values: 'on' |
'off' |
Default: 'off' |
Select this parameter to enable the Left_Gear_T input port.
Programmatic Use
Block Parameter: Left_Gear_T |
Type: character vector |
Values: 'on' | 'off' |
Default: 'off' |
Select this parameter to enable the Left_Wheel_T input port.
Programmatic Use
Block Parameter: Left_Wheel_T |
Type: character vector |
Values: 'on' | 'off' |
Default: 'off' |
Select this check box to enable the Left_Gear_Door1_T input port.
Programmatic Use
Block Parameter:
Left_Gear_Door1_T |
Type: character vector |
Values: 'on' |
'off' |
Default: 'off' |
Select this check box to enable the Left_Gear_Door2_T input port.
Programmatic Use
Block Parameter:
Left_Gear_Door2_T |
Type: character vector |
Values: 'on' |
'off' |
Default: 'off' |
Select this parameter to enable the Right_Gear_T input port.
Programmatic Use
Block Parameter: Right_Gear_T |
Type: character vector |
Values: 'on' | 'off' |
Default: 'off' |
Select this parameter to enable the Right_Wheel_T input port.
Programmatic Use
Block Parameter: Right_Wheel_T |
Type: character vector |
Values: 'on' | 'off' |
Default: 'off' |
Select this check box to enable the Right_Gear_Door1_T input port.
Programmatic Use
Block Parameter:
Right_Gear_Door1_T |
Type: character vector |
Values: 'on' |
'off' |
Default: 'off' |
Select this check box to enable the Right_Gear_Door2_T input port.
Programmatic Use
Block Parameter:
Right_Gear_Door2_T |
Type: character vector |
Values: 'on' |
'off' |
Default: 'off' |
Select this parameter to enable the Nose_Gear_R input port.
Programmatic Use
Block Parameter:
Nose_Gear_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 check box to enable the Nose_Gear_Door1_R input port.
Programmatic Use
Block Parameter:
Nose_Gear_Door1_R |
Type: character vector |
Values: 'on' |
'off' |
Default: 'off' |
Select this check box to enable the Nose_Gear_Door2_R input port.
Programmatic Use
Block Parameter:
Nose_Gear_Door2_R |
Type: character vector |
Values: 'on' |
'off' |
Default: 'off' |
Select this parameter to enable the Left_Gear_R input port.
Programmatic Use
Block Parameter: Left_Gear_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 check box to enable the Left_Gear_Door1_R input port.
Programmatic Use
Block Parameter:
Left_Gear_Door1_R |
Type: character vector |
Values: 'on' |
'off' |
Default: 'off' |
Select this check box to enable the Left_Gear_Door2_R input port.
Programmatic Use
Block Parameter:
Left_Gear_Door2_R |
Type: character vector |
Values: 'on' |
'off' |
Default: 'off' |
Select this parameter to enable the Right_Gear_R input port.
Programmatic Use
Block Parameter: Right_Gear_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' |
Select this check box to enable the Right_Gear_Door1_R input port.
Programmatic Use
Block Parameter:
Right_Gear_Door1_R |
Type: character vector |
Values: 'on' |
'off' |
Default: 'off' |
Select this check box to enable the Right_Gear_Door2_R input port.
Programmatic Use
Block Parameter:
Right_Gear_Door2_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' |
Input
Select the input coordinate frame to position aerospace vehicles with respect to north-east-down (NED), fixed-frame (Fixed-frame), or International Celestial Reference Frame (ICRF).
If the model contains an associated Simulation 3D Scene Configuration block, Simulation 3D Helicopter Pack block uses the coordinate frame of the Simulation 3D Scene Configuration. In this case, the Select input coordinate frame might be disabled. For more information about the Simulation 3D Helicopter Pack block coordinate frame, see Algorithms.
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) | 'Fixed-frame' | 'ICRF' |
Algorithms
If a model contains a Simulation 3D Helicopter Pack block and an associated Simulation 3D Scene Configuration block, the Input tab options of Simulation 3D Helicopter Pack block might be disabled. In this case, the Simulation 3D Helicopter Pack block synchronizes its coordinate system with the scene specified for the Simulation 3D Scene Configuration block if the scene appears in this table.
Simulation 3D Scene Configuration Block Scene | Simulation 3D Helicopter Pack Coordinate System |
---|---|
| NED |
| ICRF |
Geospatial with LLA origin | NED |
Geospatial with tileset center origin | Fixed-frame |
For more information on ICRF and fixed-frame coordinate systems, see ECI and ECEF Coordinates.
The Simulation 3D Helicopter Pack block does not synchronize with any other scene selections in the Simulation 3D Scene Configuration block.
Version History
Introduced in R2023bThe Simulation 3D Helicopter Pack block has these changes:
The Geospatial tab was renamed to Input tab.
On the Input tab, the Select input coordinate frame pane now contains these coordinate frame buttons:
Fixed-frame — Fixed-frame coordinate frame. When you select this coordinate frame, the annotation
Fixed-frame
appears under the pack block icons.ICRF — International Celestial Reference Frame coordinate frame. When you select this coordinate frame, the annotation
ICRF
appears under the pack block icons.NED — North-east-down coordinate frame. When you select this coordinate frame, the annotation
NED
appears under the pack block icons.
If a model contains a Simulation 3D pack block and an associated Simulation 3D Scene Configuration block, the Input tab options of Simulation 3D Helicopter Pack might be disabled. In this case, the Simulation 3D Helicopter Pack synchronizes coordinate systems with the Simulation 3D Scene Configuration block.
The coordinate system displays as an annotation under the block.
The Enable geospatial correction and Direction of x-axis (degrees clockwise from north) parameters have been removed.
To enable ECEF coordinate systems for translation input, the Simulation 3D Helicopter Pack block has been updated. Use these parameters with the Use Earth center as origin (ECEF) parameter in the Simulation 3D Scene Configuration block.
Select input coordinate frame
ECEF — ECEF input coordinate frame. When you select this coordinate frame, the annotation
Origin: Earth center (ECEF)
appears under the pack block icons.NED — NED coordinate frame. Prior to R2024a, NED was the only supported coordinate frame.
Direction of x-axis (degrees clockwise from north) — Direction of the x-axis. This parameter is enabled when you select the Enable geospatial correction check box.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)