Skip to content

Commit

Permalink
Merge pull request #6 from filippobottega/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
SMerrony authored Jul 31, 2018
2 parents fa63343 + f4879c4 commit c926f75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (
)
func main() {
drone := new(Tello)
drone := new(tello.Tello)
err := drone.ControlConnectDefault()
if err != nil {
log.Fatalf("%v", err)
Expand All @@ -60,4 +60,4 @@ You must establish a control connection to use the drone, but the video connecti
Certain functionality is made available in two forms: single-shot function calls and streaming (channel) data flows.
Eg. GetFlightData() vs. StreamFlightData(), and UpdateSticks() vs. StartStickListener().

Use whichever paradigm you prefer, but be aware that the channel-based calls should return immediately (the channels are buffered) whereas the function-based options could conceivably cause your application to pause very briefly if the Tello is very busy; in practice, the author has not found this to be an issue.
Use whichever paradigm you prefer, but be aware that the channel-based calls should return immediately (the channels are buffered) whereas the function-based options could conceivably cause your application to pause very briefly if the Tello is very busy; in practice, the author has not found this to be an issue.

0 comments on commit c926f75

Please sign in to comment.