hanyazou / TelloPy

DJI Tello drone controller python package
Other
690 stars 293 forks source link

Sensor data #4

Closed freaad closed 6 years ago

freaad commented 6 years ago

Hello. Thank you for sharing the good sdk. Does tello send the imu data such as vellocity, yaw etc? Thank you.

hanyazou commented 6 years ago

Tello._internal.protocol.FlightData seems to have members for velocity though I din't investigate in details. Tello sends this data periodically.

    self.height = int16(data[0], data[1])
    self.north_speed = int16(data[2], data[3])
    self.east_speed = int16(data[4], data[5])
    self.ground_speed = int16(data[6], data[7])
freaad commented 6 years ago

Thank you so much. I will definitely check it.

edmondja commented 6 years ago

No accelerometer ?

hanyazou commented 6 years ago

@edmondja no...