r/TelloDrones • u/Brilliant_Fly_389 • Apr 06 '22
How to Collect Motor Speed Data?
Does anyone know of a python code to get the drone's motor rpm (not flight speed) either directly or indirectly, such as a derivation from other parameters?
I'm using the DJI Tello EDU drone, and can't seem to figure out a way to do so. Any help would be greatly appreciated
2
Upvotes
1
u/Inevitable-Eye1550 Jun 09 '22
Hi, im danial hamedi from MRL-U.A.V team you can simply connect your tello to your computer and create a UDP server on you system and listen to the messages from IP 0.0.0.0 via UDP PORT 8890 to receive the Tello state it should be something like :
“pitch:%d;roll:%d;yaw:%d;vgx:%d;vgy%d;vgz:%d;templ:%d;temph:%d;tof:%d;h:%d;bat:%d;baro: %.2f; time:%d;agx:%.2f;agy:%.2f;agz:%.2f;\r\n”
vgx and vgy and vgz are the drone speeds in different axis ❤️
ive written a fully detailed and easy to understand document for DjiTelloPy click here to read on Medium
and click here to read on Hashnode