socketbind / drone-control Goto Github PK
View Code? Open in Web Editor NEWSimple application for controlling DJI/Ryze Tello drones.
License: Apache License 2.0
Simple application for controlling DJI/Ryze Tello drones.
License: Apache License 2.0
I'm on CentOS 7, using ffmpeg.
When I tried to do the "go get" for the first time, I got
In file included from src/github.com/socketbind/drone-control/decoder/h264dec.go:9:0: ./h264_decode.h:4:32: fatal error: libavcodec/avcodec.h: No such file or directory #include <libavcodec/avcodec.h> ^ compilation terminated.
Then, I typed
sudo ln -sf /usr/include/ffmpeg/* /usr/include/
and "go get" again.
However:
h264_decode.c: In function ‘h264dec_new’: h264_decode.c:11:12: warning: assignment makes pointer from integer without a cast [enabled by default] h->pkt = av_packet_alloc(); ^ h264_decode.c:17:47: error: ‘AV_INPUT_BUFFER_PADDING_SIZE’ undeclared (first use in this function) h->inbuf = (uint8_t*) malloc(INBUF_SIZE + AV_INPUT_BUFFER_PADDING_SIZE); ^ h264_decode.c:17:47: note: each undeclared identifier is reported only once for each function it appears in
Apart from other info(like speed), losing battery info can threaten security of the drone. If you've figured out the protocol using wireshark, please add this info as soon as possible.
Personally, I believe developing a drone is not like developing a toy, but like developing a car.
Great initiative on this :-)
I'm just trying your code out on my Ubuntu workstation.
Prerequisites before trying to run/install for me were:
sudo apt-get install libavcodec-dev libavformat-dev libxcursor-dev libxrandr-dev libglfw3-dev libxinerama-dev libxi-dev
Might be good to write in the README just to make it even easier to install.
/Daniel
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.