Simulation 3D CubeSat Pack
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
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
10-by-3 array
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.
Bone | Index |
---|---|
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 |
Rotation — Spacecraft rotation
10-by-3 array
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
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
Sensor translation — Option to enable Sensor_T input port
off
(default) | on
Sensor rotation — Option to enable Sensor_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 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
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 (한국어)