Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

Recent content by socketbind

  1. socketbind

    Unofficial, very early desktop app for flights

    I have pushed an SDL version of the application to the "sdl" branch. It uses the previously mentioned game controller mappings so a whole lot other controllers are now supported that have analog controls. I also definitely want to include keyboard controls + other stats that was originally...
  2. socketbind

    Unofficial, very early desktop app for flights

    In order to improve controller compatibility I think it would be very nice to use the Game Controller DB that is available here: gabomdq/SDL_GameControllerDB To have some semblance of consistency across platforms and controllers. I would say Gobot has a better joystick driver (which wraps SDL)...
  3. socketbind

    Unofficial, very early desktop app for flights

    Did some tests on Linux and Windows and video quality was absolutely horrendous. Mac OS works quite nicely. I'm not sure if it is the wifi adapter I'm using (TP-Link TL-WN721N) but video on these platforms is completely unusable. I will try to get my hands on a different adapter.
  4. socketbind

    Keyboard desktop app based on work by @socketbind

    Thank you! Maybe we should clean things up a bit and release a version that has both gamepad/keyboard controls (analogue controls are especially nice) then clean up the build system so people can easily build binaries on all platforms. I don't have much spare time nowadays due to work but I'll...
  5. socketbind

    Unofficial, very early desktop app for flights

    All it needed was avcodec_register_all(); On Mac OS I had the avcodec version which ships with FFmpeg 4.0 but on Linux it was 3.4.2-2. It seems there is no need to call this method on newer versions but mandatory with 3.x series. Anyway I'm getting corruption and lag similar to what you were...
  6. socketbind

    Unofficial, very early desktop app for flights

    I admit I fooled myself. That log message comes from my source not avcodec's logging facility. I sprinkled the native code with some helpful error messages to stderr. It seemingly can't find the specified codecs which strikes me as kind of strange since Ubuntu's ffmpeg does have the libx264...
  7. socketbind

    Unofficial, very early desktop app for flights

    On which platform are you trying to get it to work? I originally got this working on Mac OS and now I'm attempting to do the same on Linux. Sadly, libavcodec throws some kind of generic error message that I can't decipher. You can try it for yourself like this: Install libavcodec-dev...
  8. socketbind

    Unofficial, very early desktop app for flights

    I would say I noticed no lag just some rare dropped/corrupt frames. In the meantime I'm trying to produce some Linux binaries when time permits but I get a "Unable to initialize decoder" error on Ubuntu 18.04 without any explanation.
  9. socketbind

    Unofficial, very early desktop app for flights

    As a sidenote another somewhat interesting thing I would love to have is automatically stitching panoramas using rotation controls and the onboard 5MP camera which takes kinda decent pictures. There is seemingly no API for that yet, might need to do some reverse engineering.
  10. socketbind

    Unofficial, very early desktop app for flights

    I lack the time for that at the moment, sorry, but it shouldn't be too hard. Getting rid of the gamepad code in ui/main.go then anything related to commandChannel in drone/control.go should strip everything to its bare essentials. Thankfully the gobot API is easy to use and not too much complicated.
  11. socketbind

    Unofficial, very early desktop app for flights

    Hi, I'd like to share with you the desktop application I have been working on: socketbind/drone-control The reason I have been doing it is that my old Nexus 5 has connection issues with the drone at the higher distances and altitudes and also as an excuse for practicing Go. So far I got these...