Unmanned aerial vehicles (UAVs) can be modeled and controlled using UAV Library for Robotics System Toolbox™ functions, objects, and blocks. You can simulate a reduced-order guidance model for fixed-wing and multirotor UAVs that approximates a closed-loop autopilot controller with a kinematic model. Generate control commands, UAV states, and environmental inputs using the given functions. A waypoint follower is also provided to execute flight missions based on pre-defined waypoints.
Using UAV Algorithms requires you to install the UAV Library
for Robotics System Toolbox. To install add-ons, use
roboticsAddons
and select
the desired add-on.
roboticsAddons | Install add-ons for robotics |
control | Control commands for UAV |
derivative | Time derivative of UAV states |
environment | Environmental inputs for UAV |
state | UAV state vector |
plotTransforms | Plot 3-D transforms from translations and rotations |
multirotor | Guidance model for multirotor UAVs |
fixedwing | Guidance model for fixed-wing UAVs |
uavWaypointFollower | Follow waypoints for UAV |
UAV Guidance Model | Reduced-order model for UAV |
Waypoint Follower | Follow waypoints for UAV |
UAV Animation | Animate UAV flight path using translations and rotations |
Approximate High Fidelity UAV model with UAV Guidance Model block
Simulation models often need different levels of fidelity during different development stages.
Tuning Waypoint Follower for Fixed-Wing UAV
This example designs a waypoint following controller for a fixed-wing unammned aerial vehicle (UAV) using the UAV Guidance Model and Waypoint Follower blocks from the UAV Library for Robotics System Toolbox.