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

Meaning of TOF distance

nnguyen

New member
Joined
Nov 9, 2018
Messages
2
Reaction score
0
I'm new to Tello and I'm trying to write a simple program where the Tello flies toward a wall and stops (or turns) before hitting it.
Using the official SDK (https://dl-cdn.ryzerobotics.com/downloads/tello/20180910/Tello SDK Documentation EN_1.3.pdf), I send a "tof?" message.
The return values seems unpredictable. I thought it meant the distance between the Tello and an object in front of it, but I get numbers that do not make sense..

Am I misunderstanding the meaning of "TOF distance"? or is there some problem with my drone's sensors?

thank you.
 

Droner

Member
Joined
Oct 25, 2018
Messages
10
Reaction score
0
Hi there,

I'm pretty sure the TOF sensor you're talking about is the one located underneath the Tello, so it probably measures the distance to the floor, NOT the distance to a nearby wall :(

Hopes it helps
 

nnguyen

New member
Joined
Nov 9, 2018
Messages
2
Reaction score
0
Thank you, that does help. So TOF is the same as "height"?
 

an3k

Active member
Joined
Dec 11, 2018
Messages
44
Reaction score
34
As far as I understood it based on a few flights: "height" is the height above the starting point, "tof" is the current distance to ground.

Eg. you started from a 50 cm high table (height = 50, tof = 50), you flew off the table (height = 50, tof = 100) and descended 50 cm (height = 0, tof = 50).
 

New Threads

Members online

Forum statistics

Threads
2,781
Messages
21,862
Members
6,711
Latest member
dusan