AlexanderGranhof / tello-drone

An independent, simple and easy-to-use interface between nodejs and a tello drone
40 stars 14 forks source link

Adding support for parsing Tello logs for more detailed telemetry. #12

Open tgb20 opened 4 years ago

tgb20 commented 4 years ago

The Tello logs contain more detailed information than what is provided by the state. There has been some work to decode those logs for other libraries and I was wondering if you are planning on adding that to this library. For instance it allows for finding the X, Y, Z position of the drone rather than just the changes in position.

You can find the forum post where it is discussed and decoded here.

And you can find one implementation of the require messages to start receiving the logs in this commit.

AlexanderGranhof commented 4 years ago

Interesting, I was not aware of this. Ill look more into it from the links you have there.

I'll gladly implement this

AlexanderGranhof commented 4 years ago

I've spent the day researching this and it seems to be a different low level protocol described in this wiki. The wiki itself is incomplete and is a collaborative effort from the community created from observing the network traffic from the drone.

I looked at multiple repositories that have implemented this protocol but many of them are broken and incomplete. I don't feel comfortable implementing this right now since these UDP protocols are dealing with multiple different types of bytes and CRC which i am not familiar with. I could take another look at this in the future if/when the wiki is more complete.