Skip to content

Latest commit

 

History

History
50 lines (43 loc) · 2.58 KB

quickstart-windows.md

File metadata and controls

50 lines (43 loc) · 2.58 KB

Quickstart (Windows)

If you don't want to develop embedded firmware code, you can use prebuilt simulated vehicle binaries.

Install required software

  1. Install Git.
  2. Install Python 3.11.
  3. Install MAVProxy.
  4. Install Mission Planner.

Download prebuilt binaries

  1. Download ArduCopter.elf and save it to the C:\ardu-sim folder and rename it to arducopter.exe.
  2. Download cygwin1.dll and save it to the C:\ardu-sim folder.
  3. Download cygstdc++-6.dll and save it to the C:\ardu-sim folder.
  4. Download cyggcc_s-seh-1.dll and save it to the C:\ardu-sim folder.

Download parameter file

  1. Download copter.parm and save it to the C:\ardu-sim\parameters folder.

Clone the repository

  1. Get inside the C:\ folder.
  2. Open a command prompt and run the below code:
git clone https://github.com/mustafa-gokce/ardupilot-software-development.git

Run the simulator

  1. Open a command prompt in the C:\ardu-sim folder and run the below code:
arducopter -w -S --model + --speedup 1 --defaults parameters/copter.parm -I0
  1. Open another command prompt in the C:\ardu-sim folder and run the below code:
mavproxy --master tcp:127.0.0.1:5760 --out 127.0.0.1:14550 --out 127.0.0.1:14560 --daemon --no-console --non-interactive
  1. Open Mission Planner and connect to the UDP port 14550 or run the below code in another command prompt started in the C:\ardu-sim folder:
mavproxy --master=127.0.0.1:14550

Install required Python modules

  1. Open a command prompt in the C:\ardu-sim folder and run the below code:
python -m pip install pymavlink==2.4.39 dronekit==2.9.2 geopy==2.3.0 get-key==1.60.0

Run the example

  1. Open a command prompt in the C:\ardupilot-software-development folder and run the below code:
python pymavlink/vehicle-connection.py