Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Control commands for UAV

`controlStruct = control(uavGuidanceModel)`

This function requires you to install the UAV Library for Robotics System
Toolbox™. To install add-ons, use `roboticsAddons`

and select the desired add-on.

returns a structure that captures all the relevant control commands for the specified UAV
guidance model. Use the output of this function to ensure you have the proper fields for
your control. Use the control commands as an input to the `controlStruct`

= control(`uavGuidanceModel`

)`derivative`

function to get the state time-derivative of the UAV.

`derivative`

|`environment`

|`ode45`

|`plotTransforms`

|`roboticsAddons`

|`state`