Code Monkey home page Code Monkey logo

dji-hd-fpv-helpers's Introduction

DJI HD FPV Helper Scripts

This repository is dedicated to helper scripts used on the host machine to help with different tasks like image conversion.

Installation

Clone the repository and use pipenv to install the dependencies:

pipenv shell
pipenv install

Features

Convert images to Screensaver images

On the DJI goggles there are two images used as screensaver images:

  • /system/gui/screen01.data
  • /system/gui/screen02.data

Those can be swapped with custom images, given that the correct format is provided. screen_convert.py will convert any image with the correct size (1440x810) into a raw image that can be displayed by the goggles:

python screen_convert.py source.png screen01_new.data

A correctly converted image should alway have the size of 4665600 bytes.

This converted image can then be pushed to the goggles via adb:

adb push screen01_new.data /system/gui/screen01.data
# or to replace the second image:
adb push screen01_new.data /system/gui/screen02.data

For some reason pushing this file might result in the file not being completely written, in this case try to transmit again or push the file to a different place and simply use mv on the goggles to move it into the correct place.

dji-hd-fpv-helpers's People

Contributors

stylesuxx avatar

Watchers

 avatar

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.