Skip to content

mathworks-robotics/scripts-patch-ardupilot-uav-toolbox

Repository files navigation

Scripts to Patch ArduPilot® for UAV Toolbox

This repository provides an automation script that applies specific modifications to the ArduPilot® codebase in order to integrate a Simulink®-specific library (AC_Simulink).

This repository is designed to use alongside the UAV Toolbox Support Package for ArduPilot® Autopilots

Prerequisites

  • A local checkout of the ArduCopter-4.6.2 or ArduPlane-4.6.2 repository (GPL v3).

MathWorks Products (https://www.mathworks.com)

Requires MATLAB® release R2025b

Installation

Clone this repository:

git clone https://github.com/mathworks-robotics/scripts-patch-ardupilot-uav-toolbox
cd scripts-patch-ardupilot-uav-toolbox
git checkout v1.0

Usage

Run the automation script in MATLAB, providing the path to your local ArduPilot repository and the intended vehicle type.
Currently, only Copter and Plane are supported as valid vehicle types.

runArduPilotPatch(<path-to-ardupilot-repo>, 'Copter')

License

The license is available in the License.txt file in this GitHub repository.

Community Support

You can post your queries on the MATLAB Central page for the support package. You can also add your questions at MATLAB Answers.

Copyright 2025 The MathWorks, Inc.

About

Scripts to Patch ArduPilot for UAV Toolbox

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published