gobot.io/x/gobot@v1.16.0/platforms/dji/tello/README.md (about) 1 # Tello 2 3 This package contains the Gobot driver for the Ryze Tello drone, sold by DJI. 4 5 For more information on this drone, go to: [https://www.ryzerobotics.com/tello](https://www.ryzerobotics.com/tello) 6 7 ## How to Install 8 9 ``` 10 go get -d -u gobot.io/x/gobot/... 11 ``` 12 13 ## How to Use 14 15 Connect to the drone's Wi-Fi network from your computer. It will be named something like "TELLO-XXXXXX". 16 17 Once you are connected you can run the Gobot code on your computer to control the drone. 18 19 Here is a sample of how you initialize and use the driver: 20 21 ```go 22 package main 23 24 import ( 25 "fmt" 26 "time" 27 28 "gobot.io/x/gobot" 29 "gobot.io/x/gobot/platforms/dji/tello" 30 ) 31 32 func main() { 33 drone := tello.NewDriver("8888") 34 35 work := func() { 36 drone.TakeOff() 37 38 gobot.After(5*time.Second, func() { 39 drone.Land() 40 }) 41 } 42 43 robot := gobot.NewRobot("tello", 44 []gobot.Connection{}, 45 []gobot.Device{drone}, 46 work, 47 ) 48 49 robot.Start() 50 } 51 ``` 52 53 ## Telo Edu driver 54 55 If you are planning to connect to the edu version of the tello, please use the `NewDriverWithIP` driver instead 56 57 ```go 58 drone := tello.NewDriverWithIP("192.168.10.1", "8888") 59 ``` 60 61 ## References 62 63 This driver could not exist without the awesome members of the unofficial Tello forum: 64 65 https://tellopilots.com/forums/tello-development.8/ 66 67 Special thanks to [@Kragrathea](https://github.com/Kragrathea) who figured out a LOT of the packets and code as implemented in C#: [https://github.com/Kragrathea/TelloPC](https://github.com/Kragrathea/TelloPC) 68 69 Also thanks to [@microlinux](https://github.com/microlinux) with the Python library which served as the first example for the Tello community: [https://github.com/microlinux/tello](https://github.com/microlinux/tello) 70 71 Thank you to bluejune for the [https://bitbucket.org/PingguSoft/pytello](https://bitbucket.org/PingguSoft/pytello) repo, especially the Wireshark Lua dissector which has proven indispensable.