Hello Friends,
I will description my problems about my Tello's. I am using python codes.
github.com
/DJITelloPy/tello.py
import time
# see: damiafuentes/DJITelloPy
print("Create Tello object")
tello = Tello()
print("Connect to Tello Drone")
tello.connect()
print(f"Battery Life Pecentage: {tello.get_battery()}")
print("Takeoff - hoser!")
tello.takeoff()
"""
time.sleep(1)
print("Move Left X cm")
tello.move_left(50)
time.sleep(1)
print("Rotate clockwise")
tello.rotate_clockwise(90)
time.sleep(1)
print("Move forward X cm")
tello.move_forward(50)
"""
time.sleep(1)
print("Move forward X cm")
tello.move_forward(200)
time.sleep(1)
print("Rotate clockwise")
tello.rotate_clockwise(180)
time.sleep(1)
print("Move forward X cm")
tello.move_forward(200)
print("Prepare floor to land.... you have 1 second")
time.sleep(1)
print("landing")
tello.land()
print("touchdown.... goodbye")
I will description my problems about my Tello's. I am using python codes.
- My Tello waiting along time when after send takeoff command with python code. But, When I using Tello APP on Adroid, it is not waiting longly. I checked my using library code, but I did not found timing parameter. [I shared my python code (Part A - Part B)].
- My Tello not stable(drifts) flying on every ground or without ground. I checked firmware, calibration, etc. So, I did not found. It is same moving More then 100 cm or under 100 cm. In my office ground has ceramic tile, Can it be problem for Tello ? May be reflecting sensors (IR, VPS) ? Because, when I controlling the drone, it stayed stable tried on some table area.
- When I running PART B codes, Tello not working very well. I have one scenario, for example Tello will do (takeoff, move up 100 cm, 200 cm forward, rotate left 90 degree, 200 cm forward, rotate left 90 degree, 200 cm forward, rotate left 90 degree, 200 cm forward, rotate left 90 degree, landing) same like square area. But Tello loosing height/elevation position, ground is stable everywhere and not any objects.
Part A (Python Code Library):
GitHub - damiafuentes/DJITelloPy: DJI Tello drone python interface using the official Tello SDK. Feel free to contribute!
DJI Tello drone python interface using the official Tello SDK. Feel free to contribute! - GitHub - damiafuentes/DJITelloPy: DJI Tello drone python interface using the official Tello SDK. Feel free...
/DJITelloPy/tello.py
Part B (Python Control Code):
from djitellopy import Telloimport time
# see: damiafuentes/DJITelloPy
print("Create Tello object")
tello = Tello()
print("Connect to Tello Drone")
tello.connect()
print(f"Battery Life Pecentage: {tello.get_battery()}")
print("Takeoff - hoser!")
tello.takeoff()
"""
time.sleep(1)
print("Move Left X cm")
tello.move_left(50)
time.sleep(1)
print("Rotate clockwise")
tello.rotate_clockwise(90)
time.sleep(1)
print("Move forward X cm")
tello.move_forward(50)
"""
time.sleep(1)
print("Move forward X cm")
tello.move_forward(200)
time.sleep(1)
print("Rotate clockwise")
tello.rotate_clockwise(180)
time.sleep(1)
print("Move forward X cm")
tello.move_forward(200)
print("Prepare floor to land.... you have 1 second")
time.sleep(1)
print("landing")
tello.land()
print("touchdown.... goodbye")
Last edited: