diff --git a/companion.py b/companion.py index 4e130d1..5204c20 100644 --- a/companion.py +++ b/companion.py @@ -1,4 +1,4 @@ -from dronekit import connect, VehicleMode, APIException, LocationGlobal +from dronekit import connect, VehicleMode, APIException, LocationGlobalRelative from pymavlink import mavutil import time import numpy as np @@ -34,7 +34,7 @@ def print_status(): GPIO.setmode(GPIO.BCM) GPIO.setup(BURN_PIN, GPIO.OUT) GPIO.output(BURN_PIN, GPIO.LOW) -target_location = LocationGlobal(TARGET_LAT, TARGET_LON, 1000) +target_location = LocationGlobalRelative(TARGET_LAT, TARGET_LON, 0) vehicle = None try: diff --git a/logs/ARV_eric_1.png b/logs/ARV_eric_1.png deleted file mode 100644 index 60f997a..0000000 Binary files a/logs/ARV_eric_1.png and /dev/null differ diff --git a/logs/ARV_eric_1.bin b/logs/ARV_erik_1.bin similarity index 100% rename from logs/ARV_eric_1.bin rename to logs/ARV_erik_1.bin diff --git a/logs/ARV_erik_3.bin b/logs/ARV_erik_3.bin new file mode 100644 index 0000000..47dfb95 Binary files /dev/null and b/logs/ARV_erik_3.bin differ diff --git a/logs/ARV_erik_4.bin b/logs/ARV_erik_4.bin new file mode 100644 index 0000000..be4583e Binary files /dev/null and b/logs/ARV_erik_4.bin differ