mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-05-01 13:48:57 +08:00
tello: update README with latest info
Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
parent
02542b88e8
commit
6ffb160f85
@ -1,6 +1,6 @@
|
||||
# DJI
|
||||
|
||||
This package contains the Gobot drivers for the DJI (https://www.dji.com/) drones.
|
||||
This package contains the Gobot drivers for DJI (https://www.dji.com/) drones.
|
||||
|
||||
This package currently supports the following drones:
|
||||
- [DJI Tello](https://www.ryzerobotics.com/tello)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
This package contains the Gobot driver for the Ryze Tello drone, sold by DJI.
|
||||
|
||||
For more information on this drone, go to:
|
||||
For more information on this drone, go to: https://www.ryzerobotics.com/tello
|
||||
|
||||
## How to Install
|
||||
|
||||
@ -11,7 +11,10 @@ go get -d -u gobot.io/x/gobot/...
|
||||
```
|
||||
|
||||
## How to Use
|
||||
- Connect to the drone's Wi-Fi network.
|
||||
|
||||
Connect to the drone's Wi-Fi network from your computer. It will be named something like "TELLO-XXXXXX".
|
||||
|
||||
Once you are connected you can run the Gobot code on your computer to control the drone.
|
||||
|
||||
Here is a sample of how you initialize and use the driver:
|
||||
|
||||
@ -27,7 +30,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
drone := tello.NewDriver("192.168.10.2:8888")
|
||||
drone := tello.NewDriver("8888")
|
||||
|
||||
work := func() {
|
||||
drone.TakeOff()
|
||||
|
Loading…
x
Reference in New Issue
Block a user