設定とコンフィギュレーション
UAV Toolbox Support Package for ArduPilot® Autopilots をインストールする方法、ArduPilot Autopilot を構成する方法、ボードとホスト コンピューターの間の通信を確立する方法を学習します。
トピック
- 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®. Proper configuration ensures correct integration with the UAV Toolbox Support Package for ArduPilot Autopilots, enabling you to develop, deploy, and test algorithms on supported hardware platforms.
- 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. The support package provides a guided hardware setup that helps you through configuring your device and installing any required third-party tools. You can initiate the hardware setup using one of the following methods:
- 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. Knowing how to identify and select the correct port is essential for a smooth setup and reliable operation.
- Using Simulink with Custom or Unlisted ArduPilot Autopilot Hardware Targets
Deploy Simulink generated code to unsupported ArduPilot Autopilot.
トラブルシューティング
Troubleshooting Test Connection Issues
Troubleshoot errors encountered when testing hardware connection.