Update README.md

Update for building on Debian using Go 1.18 in 2023.
This commit is contained in:
Stephen Merrony
2023-04-11 18:15:27 +02:00
committed by GitHub
parent ecd4e23ad3
commit ec3b512e05

View File

@@ -18,7 +18,14 @@ Only tested on GNU/Linux - it wil probably work OK on Macs, but it will take som
## Install
``go get github.com/SMerrony/telloterm``
~~``go get github.com/SMerrony/telloterm``~~
Updated 2023...
```
go mod init telloterm
go mod tidy
go build
```
If you wish to use the video window you must have mplayer installed and on your PATH.
@@ -45,4 +52,4 @@ If you find that mplayer takes over the whole screen (rather than being in its o
N.B. To control the Tello the telloterm window must have focus.
Once you have landed the drone, stop the program with the Q key, and photos that have been successfully taken will then be saved
in the current directory.
in the current directory.