Giter Site home page Giter Site logo

tops4u / wifibroadcast_osd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samuelbrucksch/wifibroadcast_osd

0.0 2.0 0.0 314 KB

OSD for HD wireless FPV system based on wifibroadcast from befi

Makefile 0.03% C 91.84% Objective-C 6.53% C++ 1.27% Shell 0.33%

wifibroadcast_osd's Introduction

Wifibroadcast OSD

OSD for HD wireless FPV system based on wifibroadcast from befi

This project uses the openvg library to draw 2d objects onto the screen. It is an OSD that uses the telemetry of already existing systems like mavlink, frsky direct GPS and so on.

If some steps in setting up the osd is unclear visit the blog from befi and check if it helps: https://befinitiv.wordpress.com/2015/07/06/telemetry-osd-for-wifibroadcast/

Most of the steps should be the same. Requires latest wifibroadcast version

Telemetry Protocols

Currently supports Frsky D-Series Protocol and Light Telemetry (LTM). Mavlink and others might follow later.

Possible issues

  1. The AHI might indicate the opposite direction. This can be fixed by changing this part in render.c
//set to 1 or -1
#define INVERT_ROLL 1
#define INVERT_PITCH 1

-1 for reversed and 1 for normal.

  1. Roll and pitch might be exchanged. So when roll angle changes it shows AHI change on pitch. This can be exchanged by uncommenting EXCHANGE_ROLL_AND_PITCH:
//#define EXCHANGE_ROLL_AND_PITCH

to

#define EXCHANGE_ROLL_AND_PITCH
  1. The home arrow might move into the wrong direction. This can be fixed by changing this part in render.c
//set to 1 or -1
#define INVERT_HOME_ARROW 1

#Installation

  1. increase split memory for GPU in case it is not already 128MB
sudo raspi-config

In advanced -> Memory Split -> 128MB

  1. install requirements for openvg
sudo apt-get install libjpeg8-dev indent libfreetype6-dev ttf-dejavu-core
  1. download and install modified openvg library (uses layer 1 instead of 0, default background is transparent, allows outlines on text)
cd
git clone https://github.com/SamuelBrucksch/openvg
cd openvg
make library
sudo make install
  1. Download and compile osd source code
cd
git clone https://github.com/SamuelBrucksch/wifibroadcast_osd.git
cd wifibroadcast_osd
make

#Configuration All current configuration values can be set in osdconfig.h

Starting OSD

I uploaded my start scripts as a sample how to start wifibroadcast with 1 video and 1 telemetry stream. have a look at those and adapt your own start scripts based on that.

Telemetry serial of your flight control can directly be connected to the Raspi serial interface. TX of flight control needs to be connected to RX on Raspi (GPIO Pin 10). You need to disable the Linux Serial Console for this on the transmitter side. Start raspi-config and go advanced -> serial and disable. Later it will be possible to passthrough the telemetry on RX, then there you need to disable Serial as well, right now there is no need to disable Serial on the RX. This will be helpful if you want to pass the telemetry to an antenna tracker.

The Raspi Serial expects TTL 3.3V Level, so do not use with any telemetry source that uses 5V TTL Level or even RS232.

wifibroadcast_osd's People

Contributors

samuelbrucksch avatar

Watchers

 avatar  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.