Skip to content

Commit

Permalink
Updated videoPort for DJI Tello to 11111
Browse files Browse the repository at this point in the history
  • Loading branch information
hebisu committed Jun 16, 2019
1 parent da10293 commit 7a06a43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platforms/dji/tello/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func NewDriver(port string) *Driver {
d := &Driver{name: gobot.DefaultName("Tello"),
reqAddr: "192.168.10.1:8889",
respPort: port,
videoPort: "6038",
videoPort: "11111",
Eventer: gobot.NewEventer(),
}

Expand Down Expand Up @@ -264,7 +264,7 @@ func (d *Driver) Start() error {
}
}()

// starts notifications coming from drone to video port normally 6038
// starts notifications coming from drone to video port normally 11111
d.SendCommand(d.connectionString())

// send stick commands
Expand Down Expand Up @@ -899,7 +899,7 @@ func (d *Driver) handleResponse(r io.Reader) error {
}

func (d *Driver) processVideo() error {
videoPort, err := net.ResolveUDPAddr("udp", ":6038")
videoPort, err := net.ResolveUDPAddr("udp", ":11111")
if err != nil {
return err
}
Expand Down

0 comments on commit 7a06a43

Please sign in to comment.