ConBot - An automatic standalone script to configure Ardupilot and the necessary simulation environment in Windows(X).
ConBot is a PowerShell script designed to automate the configuration of a Windows operating system for UAV development and simulation in Ardupilot environment. It performs the installation and configuration of essential tools such as Python, Mission Planner, MAVProxy, QGroundControl, Cygwin, Arm GCC compiler, and sets up the ArduPilot repository.
Before running ConBot, ensure that you meet the following prerequisites:
- Windows OS (Supported versions: Windows 10/11 Windows Server 2016/2023)
Execute the PowerShell script with administrative privileges:
.\ConBot.ps1
Follow on-screen prompts and wait for the script to complete.
-
Installs Python on the system.
-
Installs MAVProxy for communication with ArduPilot vehicles.
-
Installs QGroundControl, a ground control station for ArduPilot.
-
Installs Mission Planner for configuring system.
-
Installs Cygwin, providing a large collection of GNU and Open Source tools.
-
Installs the Arm GCC compiler for building ArduPilot firmware.
-
Clones the ArduPilot repository from https://github.com/ArduPilot/ardupilot.git.
-
Configures ArduPilot for simulation and development.
-
Verifies that the installation and configuration were successful.
Once you've completed these steps, retry running ConBot by executing the PowerShell script.
If you encounter issues with running PowerShell scripts due to execution restrictions, follow these steps:
-
Unblock ConBot.ps1 File:
- Right-click on the
ConBot.ps1
file and select "Properties." - In the Properties window, check the "Unblock" box if it's present.
- Click "Apply" and then "OK."
- Right-click on the
-
Set Execution Policy:
- Open PowerShell with administrative privileges.
- Paste the following command and press Enter:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
- When prompted, type
Y
and press Enter to confirm the change for the current user.
-
Missing DLLs: If you encounter any issues during the setup process, you might come across missing DLL errors. If this happens, follow these steps to resolve the issue:
- Download the necessary DLL files from this repository.
- Place the downloaded DLL files in the
C:\Windows\System32\
directory. - Re-run ConBot by executing the PowerShell script:
.\ConBot.ps1
Contributions are welcome! If you have any improvements or bug fixes, please submit a pull request.
This project is licensed under the MIT License.
For questions or support, please contact us at aakash.unipune@gmail.com.