Tello Drone Trajectory Tracking

With this library you can track the trajectory of your tello drone or swarm of drones in real time. In addition, you can easily configure the plotter in the configuration file. In this blog, you can read more about how the trajectory is calculated.

drone-trajectory.mp4


Usage

Install requirements:

pip install -r requirements.txt

Write IP address of you tello in config.py file:

TELLO_IP_ADDRESSES = ["192.168.1.101",]

Write your flight commands in run method of flight_controller.py file:

def run(self):
    self.tellos.parallel(lambda i, tello: tello.takeoff())

    try:
        # Flight commands:
        self.tellos.parallel(lambda i, tello: tello.move_up(30))
        self.tellos.parallel(lambda i, tello: tello.move_right(30))
        self.tellos.parallel(lambda i, tello: tello.move_forward(30))
        self.tellos.parallel(lambda i, tello: tello.move_left(30))
    except Exception as e:
        print(str(e))
    finally:
        self.tellos.parallel(lambda i, tello: tello.land())
        self.tellos.parallel(lambda i, tello: tello.end())
    self.finish = True

Run main.py:

python main.py

Authors

GitHub

View Github