Giter Club home page Giter Club logo

drone-control's People

Contributors

socketbind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

drone-control's Issues

"‘AV_INPUT_BUFFER_PADDING_SIZE’ undeclared (first use in this function)" in CentOS 7

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

[Enhancement]Battery Info Support

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.

Installation guide to Ubuntu 18

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.