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.

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'

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 CubeSat 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 CubeSat 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 CubeSat Pack block and an associated Simulation 3D Scene Configuration block, the Input tab options of Simulation 3D CubeSat Pack block might be disabled. In this case, the Simulation 3D CubeSat 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 SceneSimulation 3D CubeSat Pack Coordinate System

Airport

NED

Earth, Moon, and Space

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 CubeSat Pack block does not synchronize with any other scene selections in the Simulation 3D Scene Configuration block.

Version History

Introduced in R2024a

expand all