Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

get tello log file to find relative position

giu_128

New member
Joined
Oct 22, 2020
Messages
2
Reaction score
0
Hi, I'm trying to find relative position of Tello and I read that i can get it from the log file, but i'm not using app to control the drones but doing it from Python code. There is any way to get the file from code?
 

martinpi

Well-known member
Joined
Dec 15, 2019
Messages
89
Reaction score
50
Location
Vienna. Austria
Website
martinpi.at
I'd like to know, too.

In the status information, there are entries for x,y,z. But they refer to a position relative to the mission pads of the Tello EDU.
There are entries for the speed and acceleration in the three dimensions, so you would need to integrate them in order to get the distance.
I did not try this yet.
 

giu_128

New member
Joined
Oct 22, 2020
Messages
2
Reaction score
0
Yes I read this too, but I'm not using the mission pads, so unfortunately let's go back to the starting point
 

martinpi

Well-known member
Joined
Dec 15, 2019
Messages
89
Reaction score
50
Location
Vienna. Austria
Website
martinpi.at
I parsed the state string and put the values of speed and acceleration into a spreadsheet.
If the timing and my parsing is ok, then it looks like this (see picture).

I took one reading every second.
The first column shows the time, then come the speed and acceleration values. The last column shows the latest command I gave, so I see what Tello is doing in this moment.
I flew forward and back in one session, left and right in the second session, always with the default speed which is 100cm/s (i.e. I did not set the speed). I did not turn, so Tello always looked in the same direction.
Do the speed values make some kind of sense?

Positive values when I fly forward or right, negative when flying left or backwards.
The manual does not show in which unit they are given.
It took about 3 seconds to fly 1 meter. So the average speed ist about 30 cm/s.
It might be dm/s (1 dm = 10 cm for everybody who is not familiar with decimals).
And they are given in integer format which makes it at least very inaccurate.

So it does not look really useful for navigation.
 

Attachments

  • vg_xy.jpg
    vg_xy.jpg
    69.5 KB · Views: 6
Last edited:

New Threads

Members online

Forum statistics

Threads
5,112
Messages
36,959
Members
13,822
Latest member
Kuaky