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 given waypoints. Communicate with UAVs using the MAVLink communication protocol to send and receive messages.
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.
|Parse and store MAVLink dialect XML|
|Create MAVLink message|
|Create MAVLink command message|
|Deserialize MAVLink message from binary buffer|
|Message definition for message ID|
|Enum definition for enum ID|
|Enum value for given entry|
|Enum entry for given value|
|Connect with MAVLink clients to exchange messages|
|MAVLink client information|
|Connect to MAVLink clients through UDP port|
|Disconnect from MAVLink clients|
|Send MAVLink message|
|Send MAVLink message to UDP port|
|Serialize MAVLink message to binary buffer|
|List all active MAVLink connections|
|List all connected MAVLink clients|
|List all topics received by MAVLink client|
Simulation models often need different levels of fidelity during different development stages.
This example designs a waypoint following controller for a fixed-wing unmanned aerial vehicle (UAV) using the UAV Guidance Model and Waypoint Follower blocks from the UAV Library for Robotics System Toolbox.
This example shows how to load a telemetry log (TLOG) containing MAVLink packets into MATLAB®.
This example shows how to use a MAVLink parameter protocol in MATLAB and communicate with external ground control stations.
How to install Robotics System Toolbox add-ons.