ezrafielding / easyTello

An easy to use library to support DJI Tello scripting in Python 3
MIT License
79 stars 31 forks source link

Defining Commands #14

Closed Ionic-Wolf closed 5 years ago

Ionic-Wolf commented 5 years ago

I was wanting to do a flip, but as far as I can get it is mydrone.flip(direc = ~~). I have tried putting forward, backwards, left, and right where the ~~ is, and I haven't been successful. If it is possible to define all commands for mydrone.{command} in the ReadMe.md would be helpful.

ezrafielding commented 5 years ago

The flip command in easyTello accepts the same commands as the ones outlined in the Tello 1.3.0.0 SDK. So to flip forward for instance, you would say mydrone.flip('f'). The flip method accepts a single string which defines direction. They are 'l' for left, 'r' for right, 'f' for forward, and 'b' for backward. I do agree that we need a full list of commands in the easyTello docs, but in the mean time, the Tello 1.3.0.0 SDK notes are a good starting point.