If you don't want to develop embedded firmware code, you can use prebuilt simulated vehicle binaries.
- Install Git.
- Install Python 3.11.
- Install MAVProxy.
- Install Mission Planner.
- Download ArduCopter.elf and save it to the
C:\ardu-sim
folder and rename it toarducopter.exe
. - Download cygwin1.dll and save it to the
C:\ardu-sim
folder. - Download cygstdc++-6.dll and save it to the
C:\ardu-sim
folder. - Download cyggcc_s-seh-1.dll and save it to the
C:\ardu-sim
folder.
- Download copter.parm and save it to the
C:\ardu-sim\parameters
folder.
- Get inside the
C:\
folder. - Open a command prompt and run the below code:
git clone https://github.com/mustafa-gokce/ardupilot-software-development.git
- 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
- 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
- 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
- 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
- Open a command prompt in the
C:\ardupilot-software-development
folder and run the below code:
python pymavlink/vehicle-connection.py