Main Content

Simulation 3D SmallSat Pack

Create translation and rotation input matrices for SmallSat

Since R2024a

  • Simulation 3D SmallSat Pack block icon

Libraries:
Aerospace Blockset / Animation / Simulation 3D

Description

The Simulation 3D SmallSat Pack block creates translation and rotation information for the Simulation 3D Spacecraft block with Type set to SmallSat. Use the Simulation 3D SmallSat 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 SmallSat, returned as a 20-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 SmallSat type.

BoneIndex

BODY

1

ANTENNA1

2

ANTENNA2

3

ANTENNA3

4

ANTENNA4

5

SENSOR1

6

SENSOR2

7

SENSOR3

8

SENSOR4

9

SOLAR_ARRAY1

10

SOLAR_ARRAY1_1

11

SOLAR_ARRAY1_1_1

12

SOLAR_ARRAY1_1_1_1

13

SOLAR_ARRAY1_1_1_1_1

14

SOLAR_ARRAY2

15

SOLAR_ARRAY2_2

16

SOLAR_ARRAY2_2_2

17

SOLAR_ARRAY2_2_2_2

18

SOLAR_ARRAY2_2_2_2_2

19

THRUSTER

20

Spacecraft rotation for SmallSat, returned as a 20-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 Antenna4_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: Antenna4_T
Values: 'off' (default) | 'on'

Select this parameter to enable the Antenna4_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: Antenna4_R
Values: 'off' (default) | 'on'

Select this parameter to enable the Sensor1_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: Sensor1_T
Values: 'off' (default) | 'on'

Select this parameter to enable the Sensor1_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: Sensor1_R
Values: 'off' (default) | 'on'

Select this parameter to enable the Sensor2_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: Sensor2_T
Values: 'off' (default) | 'on'

Select this parameter to enable the Sensor2_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: Sensor2_R
Values: 'off' (default) | 'on'

Select this parameter to enable the Sensor3_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: Sensor3_T
Values: 'off' (default) | 'on'

Select this parameter to enable the Sensor3_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: Sensor3_R
Values: 'off' (default) | 'on'

Select this parameter to enable the Sensor4_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: Sensor4_T
Values: 'off' (default) | 'on'

Select this parameter to enable the Sensor4_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: Sensor4_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 SolarArray1_1_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_1_T
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray1_1_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_1_R
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray1_1_1_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_1_1_T
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray1_1_1_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_1_1_R
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray1_1_1_1_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_1_1_1_T
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray1_1_1_1_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_1_1_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'

Select this parameter to enable the SolarArray2_2_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_2_T
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray2_2_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_2_R
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray2_2_2_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_2_2_T
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray2_2_2_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_2_2_R
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray2_2_2_2_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_2_2_2_T
Values: 'off' (default) | 'on'

Select this parameter to enable the SolarArray2_2_2_2_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_2_2_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