kopia lustrzana https://github.com/IzzyBrand/spaceplane
switched target location to locationglobalrelative and added logs
rodzic
dd4ea8727e
commit
a8dd2cc475
|
@ -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 |
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Ładowanie…
Reference in New Issue