Skip to content

Instantly share code, notes, and snippets.

View jacksonsunny29's full-sized avatar
🖤
Building Better Algorithms!

Jackson Sunny jacksonsunny29

🖤
Building Better Algorithms!
View GitHub Profile
@jacksonsunny29
jacksonsunny29 / takeoff_and_land.py
Created July 1, 2019 18:21 — forked from dbaldwin/takeoff_and_land.py
Basic takeoff to 20m and land with DroneKit, Raspberry Pi and Pixhawk
from dronekit import connect, VehicleMode, LocationGlobalRelative
from pymavlink import mavutil
import time
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--connect', default='127.0.0.1:14550')
args = parser.parse_args()
# Connect to the Vehicle