Giter Site home page Giter Site logo

horus-mavlink-telemetry's Introduction

Horus-Mavlink-Telemetry

A universal lua script for displaying mavlink values on FrSky Horus OpenTX

This Lua Widget script shows varius Mavlink Data and / or standard sensors data and values on your screen.

To invoke the Passthrough Telemetrie follow these steps:

  1. you need a serial converter as described here: http://ardupilot.org/copter/docs/common-frsky-passthrough.html
  2. Set your SERIAL#_PROTOCOL to 10
  3. Copy pas1.lua and pas2.lua to your Horus SD Card /SCRIPTS/MIXES/
  4. Copy the widget folder to /WIDGETS
  5. Invoke the background Scripts in your model settings tab "custom scripts"
  6. Connect your vehicle with battery or USB Power and go to your models telemetry sensors and add the new sensors
  7. Go to your telemetrie setup and build a new screen, use the 1x1 layout and deactivate sliders and trim
  8. select the "telemetrie" widget.
  9. Configure the widget to our needs:

Cells -- lipo cells
Mode -- switch for toggle screens
Setting -- here you can define which setting to use

The widget definition examples should now display the following screens on your Horus:
Screen 1 (switch position 1) shows varius sensors and data
Screen 2 (switch position 2) shows an artificial horizon Screen 3 (switch position 3) shows Mavlink Messages (12 rows)

The "hud" widget needs at least 1/3 cell width and 2x height.
The "cfas" and "batt_ap" widget needs at least 3x cell height because. The "msg" widget needs the whole screen

You can configure your own settings like this: widgetDefinition = {{"mavtype", "armed", "fm", "timer"},{"ap_batt", 0, 0, "rxbat"},{"ap_volt", "ap_curr", "ap_drawn", "rssi"},{"gps", "ap_alt", "ap_speed", "ap_dist"}}

If you like my theme background image, you can find it in /THEMES/Default/ this is the place to take it. Dont forget to backup your original background.png.

For testing the SPort Passthrough, there is a second widget in folder "Passthrough". This script dosn't need the background mixes and is still faster. So i have to deals with less widgets and grafics at one time.

Known Bugs and issues:

  1. hud horizon disapears some time
  2. latency to high?
  3. Mavlink msg are some times wraped or cutted
  4. some times i get the message "Sensors lost". Mix scripts are running with less priority and have only a short run-time of 30ms, execution is not guarantied. So seeking a better solution is on agenda. To avoid this the background Script is splitted in two scripts pas1.lua and pas2.lua but the message still appears.

https://www.facebook.com/zenuavsolutions https://www.instagram.com/zenuavsolutions https://www.pinterest.de/zenuavsolutions https://www.xing.com/xbp/pages/zen-uav-solutions https://github.com/zenuavsolutions

horus-mavlink-telemetry's People

Contributors

neurons9 avatar

Watchers

Coby avatar James Cloos 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.