switched target location to locationglobalrelative and added logs

master
Izzy Brand 2018-01-11 19:50:23 -05:00
rodzic dd4ea8727e
commit a8dd2cc475
5 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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:

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 261 KiB

BIN
logs/ARV_erik_3.bin 100644

Plik binarny nie jest wyświetlany.

BIN
logs/ARV_erik_4.bin 100644

Plik binarny nie jest wyświetlany.