mclayton7 / MavLinkTest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.NET MAVLink Control with simulator

Sim Setup

Installation

git clone https://github.com/ArduPilot/ardupilot.git
cd ardupilot
git submodule update --init --recursive
Tools/environment_install/install-prereqs-ubuntu.sh -y

https://ardupilot.org/dev/docs/building-setup-linux.html#building-setup-linux

Running the Simulator on a Raspberry Pi 4

cd ~/ardupilot/ArduCopter
sim_vehicle.py --mcast --no-mavproxy

Resetting the Simulator

This wipes out any data stored on the fake autopilot's EEPROM and resets the data stream. After it starts, Ctrl+C to quit, and then run the simulator normally.

cd ~/ardupilot/ArduCopter
sim_vehicle.py -w

Sim Operations

Startup

  1. Put the copter in GUIDED mode by typing the following into the prompt:
guided
  1. Arm the motors:
arm
  1. Takeoff:
takeoff
  1. Loiters:
loiter-high
  1. Land:
land
  1. Disarm the motors:
disarm

MavLink References

About

License:MIT License


Languages

Language:C# 100.0%