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.

UAV state vector

`stateVec = state(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 state vector for the specified UAV guidance model. The vector is always filled
with zeros. Use this function to ensure you have the proper size for your state vector. Use
the state vector as an input to the `stateVec`

= state(`uavGuidanceModel`

)`derivative`

function or when simulating the UAV using `ode45`

.

`control`

|`derivative`

|`environment`

|`ode45`

|`plotTransforms`

|`roboticsAddons`

|`state`