UAV Animation

Animate UAV flight path using translations and rotations

  • Library:
  • Robotics System Toolbox UAV Library

Description

Note

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.

Ports

Input

expand all

xyz-positions specified as an [x y z] vector.

Example: [1 1 1]

Rotations of UAV body frames relative to the inertial frame, specified as a [w x y z] quaternion vector.

Example: [1 0 0 0]

Parameters

expand all

Type of UAV mesh to display, specified as either FixedWing or Multirotor.

Size of frame and attached mesh, specified as positive numeric scalar.

Direction of the positive z-axis of inertial frame, specified as either Up or 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.

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).

Introduced in R2018b