Aerospace Blockset |
 |
3DoF Animation
Create a 3-D Handle Graphics animation of a three-degrees-of-freedom object
Library
Animation
Description

The 3DoF Animation block displays a 3-D animated view of a three-degrees-of-freedom (3DoF) craft, its trajectory, and its target using Handle Graphics.
The 3DoF Animation block uses the input values and the dialog parameters to create and display the animation.
Dialog Box

- Axes limits [xmin xmax ymin ymax zmin zmax]
- Specifies the three-dimensional space to be viewed.
- Time interval between updates
- Specifies the time interval at which the animation will be redrawn.
- Size of craft displayed
- Scale factor to adjust the size of the craft and target.
- Enter view
- Selects preset Handle Graphics parameters CameraTarget and CameraUpVector for the figure axes. The dialog parameters Position of camera and View angle are used to customize the position and field of view for the selected view. Possible views are
- Fixed position
- Cockpit
- Fly alongside
- Position of camera [xc yc zc]
- Specifies the Handle Graphics parameter CameraPosition for the figure axes. Used in all cases except for the Cockpit view.
- View angle
- Specifies the Handle Graphics parameter CameraViewAngle for the figure axes in degrees.
- Enable animation
- When selected, the animation is displayed during the simulation. If not selected, the animation is not displayed.
Inputs
The first input is a vector containing the altitude and the downrange position of the target in Earth coordinates.
The second input is a vector containing the altitude and the downrange position of the craft in Earth coordinates.
The third input is the attitude of the craft.
See Also
6DoF Animation
| 3D Self-Conditioned [A(v),B(v),C(v),D(v)] | | 3x3 Cross Product |  |