Setup and Configuration
Learn how to install UAV Toolbox Support Package for ArduPilot® Autopilots, configure your ArduPilot autopilot, and establish communication between the board and the host computer.
Topics
- Overview of Hardware Setup for ArduPilot Autopilots
This section provides an overview of the hardware setup process required to connect ArduPilot-based autopilot boards with MATLAB® and Simulink®.
- When to Run Hardware Setup
Identify scenarios requiring ArduPilot hardware setup in MATLAB.
- Launch and Complete Hardware Setup
After installing the support package, the next step is to launch the hardware setup process.
- How to Manually Clone the Scripts to Patch ArduPilot for UAV Toolbox Repository
Instructions for manually cloning the repository required to patch ArduPilot for use with the UAV Toolbox.
- Install Windows Subsystem for Linux (WSL2)
Install WSL2 on Windows®.
- Install Ubuntu Distribution for Windows Subsystem for Linux (WSL) and Setup
Install WSL2 and a Linux Distribution on Windows.
- Locating ArduPilot Firmware Path in WSL2
Locate and validate downloaded ArduPilot firmware path in WSL 2.
- Upgrade WSL1 to WSL2
Upgrade your Windows Subsystem for Linux version to WSL 2.
- Understanding COM Ports on ArduPilot Boards
ArduPilot boards, such as the Cube Orange Plus, use multiple COM ports to handle different stages of firmware uploading and communication.
- Using Simulink with Custom or Unlisted ArduPilot Autopilot Hardware Targets
Deploy Simulink generated code to unsupported ArduPilot Autopilot.
Troubleshooting
Troubleshooting Test Connection Issues
Troubleshoot errors encountered when testing hardware connection.