Simulation 3D SmallSat Pack
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
Body_T — Body translation
1-by-3 matrix
Body translation, specified as a 1-by-3 matrix.
Data Types: single
| double
Body_R — Body rotation
1-by-3 matrix
Body rotation, specified as a 1-by-3 matrix.
Data Types: single
| double
Output
Translation — Spacecraft translation
20-by-3 array
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.
Bone | Index |
---|---|
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 |
Rotation — Spacecraft rotation
20-by-3 array
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
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
Antenna 1 translation — Option to enable Antenna1_T input port
off
(default) | on
Antenna 1 rotation — Option to enable Antenna1_R input port
off
(default) | on
Antenna 2 translation — Option to enable Antenna2_T input port
off
(default) | on
Antenna 2 rotation — Option to enable Antenna2_R input port
off
(default) | on
Antenna 3 translation — Option to enable Antenna3_T input port
off
(default) | on
Antenna 3 rotation — Option to enable Antenna3_R input port
off
(default) | on
Antenna 4 translation — Option to enable Antenna4_T input port
off
(default) | on
Antenna 4 rotation — Option to enable Antenna4_R input port
off
(default) | on
Sensor 1 translation — Option to enable Sensor1_T input port
off
(default) | on
Sensor 1 rotation — Option to enable Sensor1_R input port
off
(default) | on
Sensor 2 translation — Option to enable Sensor2_T input port
off
(default) | on
Sensor 2 rotation — Option to enable Sensor2_R input port
off
(default) | on
Sensor 3 translation — Option to enable Sensor3_T input port
off
(default) | on
Sensor 3 rotation — Option to enable Sensor3_R input port
off
(default) | on
Sensor 4 translation — Option to enable Sensor4_T input port
off
(default) | on
Sensor 4 rotation — Option to enable Sensor4_R input port
off
(default) | on
Solar Arrays
Solar array 1 translation — Option to enable SolarArray1_T input port
off
(default) | on
Solar array 1 rotation — Option to enable SolarArray1_R input port
off
(default) | on
Solar array 1.1 translation — Option to enable SolarArray1_1_T input port
off
(default) | on
Solar array 1.1 rotation — Option to enable SolarArray1_1_R input port
off
(default) | on
Solar array 1.1.1 translation — Option to enable SolarArray1_1_1_T input port
off
(default) | on
Solar array 1.1.1 rotation — Option to enable SolarArray1_1_1_R input port
off
(default) | on
Solar array 1.1.1.1 translation — Option to enable SolarArray1_1_1_1_T input port
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' |
Solar array 1.1.1.1 rotation — Option to enable SolarArray1_1_1_1_R input port
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' |
Solar array 1.1.1.1.1 translation — Option to enable SolarArray1_1_1_1_1_T input port
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' |
Solar array 1.1.1.1.1 rotation — Option to enable SolarArray1_1_1_1_1_R input port
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' |
Solar array 2 translation — Option to enable SolarArray2_T input port
off
(default) | on
Solar array 2 rotation — Option to enable SolarArray2_R input port
off
(default) | on
Solar array 2.2 translation — Option to enable SolarArray2_2_T input port
off
(default) | on
Solar array 2.2 rotation — Option to enable SolarArray2_2_R input port
off
(default) | on
Solar array 2.2.2 translation — Option to enable SolarArray2_2_2_T input port
off
(default) | on
Solar array 2.2.2 rotation — Option to enable SolarArray2_2_2_R input port
off
(default) | on
Solar array 2.2.2.2 translation — Option to enable SolarArray2_2_2_2_T input port
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' |
Solar array 2.2.2.2 rotation — Option to enable SolarArray2_2_2_2_R input port
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' |
Solar array 2.2.2.2.2 translation — Option to enable SolarArray2_2_2_2_2_T input port
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' |
Solar array 2.2.2.2.2 rotation — Option to enable SolarArray2_2_2_2_2_R input port
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
Thruster translation — Option to enable Thruster_T input port
off
(default) | on
Thruster rotation — Option to enable Thruster_R input port
off
(default) | on
Geospatial
Select input coordinate frame — Input coordinate frame
NED
(default) | ECEF
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' |
Enable geospatial correction — Option to enable geospatial correction
off
(default) | on
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' |
Direction of x-axis (degrees clockwise from north) — Compass direction of x-axis
90
(default) | real scalar
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
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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)