Main Content

Simulation 3D CubeSat Pack

Create translation and rotation input matrices for CubeSat

Since R2024a

  • Simulation 3D CubeSat Pack block icon

Libraries:
Aerospace Blockset / Animation / Simulation 3D

Description

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

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

Output

expand all

Spacecraft translation for CubeSat, returned as an 10-by-3 array. The signal contains translation [X, Y, Z], in meters, with one row of the array for each bone of the spacecraft.

The translation applies to these bones of the CubeSat type.

BoneIndex

BODY

1

ANTENNA1

2

ANTENNA2

3

ANTENNA3

4

SENSOR

5

SOLAR_ARRAY1

6

SOLAR_ARRAY1_1

7

SOLAR_ARRAY2

8

SOLAR_ARRAY2_2

9

THRUSTER

10

Spacecraft rotation for CubeSat, returned as an 10-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 spacecraft.

Parameters

expand all

To edit block parameters interactively, use the Property Inspector. From the Simulink® Toolstrip, on the Simulation tab, in the Prepare gallery, select Property Inspector.

Sensors

Select this parameter to enable the Antenna1_T input port.

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: Antenna1_T
Values: 'off' (default) | 'on'

Select this parameter to enable the Antenna1_R input port.

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: Antenna1_R
Values: 'off' (default) | 'on'

Select this parameter to enable the Antenna2_T input port.

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: Antenna2_T
Values: 'off' (default) | 'on'

Select this parameter to enable the Antenna2_R input port.

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: Antenna2_R
Values: 'off' (default) | 'on'

Select this parameter to enable the Antenna3_T input port.

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: Antenna3_T
Values: 'off' (default) | 'on'

Select this parameter to enable the Antenna3_R input port.

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: Antenna3_R
Values: 'off' (default) | 'on'

Select this parameter to enable the Sensor_T input port.

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: Sensor_T
Values: 'off' (default) | 'on'

Select this parameter to enable the Sensor_R input port.

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: Sensor_R
Values: 'off' (default) | 'on'

Solar Arrays

Select this parameter to enable the SolarArray1_T input port.

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: SolarArray1_T
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray1_R input port.

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: SolarArray1_R
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray1_1_T input port.

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: SolarArray1_1_T
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray1_1_R input port.

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: SolarArray1_1_R
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray2_T input port.

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: SolarArray2_T
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray2_R input port.

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: SolarArray2_R
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray2_2_T input port.

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: SolarArray2_2_T
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray2_2_R input port.

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: SolarArray2_2_R
Values: 'off' (default) | 'on'

Thrusters

Select this parameter to enable the Thruster_T input port.

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: Thruster_T
Values: 'off' (default) | 'on'

Select this parameter to enable the Thruster_R input port.

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: Thruster_R
Values: 'off' (default) | 'on'

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.

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: AdjustForCesium
Values: 'off' (default) | 'on'

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

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: Heading0
Values: '90' (default) | real scalar

Version History

Introduced in R2024a