Skip to content

AtiqAakash/ConBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConBot - An automatic standalone script to configure Ardupilot and the necessary simulation environment in Windows(X).

Project Logo

Overview

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.

Prerequisites

Before running ConBot, ensure that you meet the following prerequisites:

  • Windows OS (Supported versions: Windows 10/11 Windows Server 2016/2023)

Getting Started

Execute the PowerShell script with administrative privileges:

.\ConBot.ps1

Follow on-screen prompts and wait for the script to complete.

Configuration Steps

  • 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.

Troubleshooting

Once you've completed these steps, retry running ConBot by executing the PowerShell script.

PowerShell Script Execution Restrictions

If you encounter issues with running PowerShell scripts due to execution restrictions, follow these steps:

  1. 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."
  2. 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.
  3. 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

Contributing

Contributions are welcome! If you have any improvements or bug fixes, please submit a pull request.

License

This project is licensed under the MIT License.

Contact

For questions or support, please contact us at aakash.unipune@gmail.com.

About

An automatic standalone script to configure Ardupilot and necessary simulation environment.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
License.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published