You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
354 B
17 lines
354 B
3 years ago
|
#Simply import of "panoramaModule.py" and you can use each function by calling it with name of the drone inside arguments.
|
||
|
from djitellopy import Tello
|
||
|
import cv2
|
||
|
import time
|
||
|
import panoramaModule
|
||
|
|
||
|
|
||
|
tello = Tello()
|
||
|
tello.connect()
|
||
|
|
||
|
print(tello.get_battery())
|
||
|
|
||
|
tello.takeoff()
|
||
|
tello.move_up(500)
|
||
|
panoramaModule.panorama_half_clockwise(tello)
|
||
|
tello.land()
|