Animate UAV flight path using translations and rotations
Robotics System Toolbox UAV Library
This block requires you to install the UAV Library for Robotics System
Toolbox™. To install add-ons, use
roboticsAddons and select the desired add-on.
The UAV Animation block animates a unmanned aerial vehicle (UAV) flight path based on an input array of translations and rotations. A visual mesh is displayed for either a fixed-wing or multirotor at the given position and orientation. Click the Show animation button in the block mask to bring up the figure after simulating.
[x y z]vector
xyz-positions specified as an
[x y z]
[1 1 1]
Rotation— Rotations of UAV body frames
[w x y z]quaternion vector
Rotations of UAV body frames relative to the inertial frame, specified as a
[w x y z] quaternion vector.
[1 0 0 0]
UAV type— Type of UAV mesh to display
Type of UAV mesh to display, specified as either
UAV size— Size of frame and attached mesh
1(default) | positive numeric scalar
Size of frame and attached mesh, specified as positive numeric scalar.
Inertial frame z-axis direction— Direction of positive z-axis of inertial frame
Direction of the positive z-axis of inertial frame, specified as
Down. In the plot, the positive
z-axis always points up. The parameter defines the rotation between
the inertia frame and plot frame. Set this parameter to
Down if the
inertial frame is following 'North-East-Down' configuration.
Sample time— Interval between outputs
–1(default) | scalar
Interval between outputs, specified as a scalar. In simulation, the sample time follows simulation time and not actual wall-block time.
This default value indicates that the block sample time is inherited.
For more information about the inherited sample time type, see Specify Sample Time (Simulink).