Git Product home page Git Product logo

frskytelemetry's Introduction

Yaapu Frsky Telemetry script

A lua based telemetry script for the Taranis X9D+ and X7 radio using the frsky passthrough protocol.

Requires OpenTX 2.2 and a recent release of arducoper, arduplane or rover.

Tested on a pixracer with copter 3.5.3 and on a pixhawk clone with copter 3.5.4

Taranis X9D+

Taranis X7

Features

  • flight mode (modes are displayed based on the frame type:copter,plane or rover)
  • artificial horizon with roll,pitch and yaw with numeric compass heading
  • battery voltage from 3 sources (in order of priority)
    • frsky FLVSS voltage sensor if available (vs is displayed next to voltage)
    • frsky analog port if available (a2 is displayed next to voltage)
    • flight controller via telemetry (fc is displayed next to voltage)
  • battery lowest cell if available or cell average if not
  • battery current
  • battery capacity and battery capacity used in mAh and %
  • vertical speed on left side of HUD
  • altitude on right side of HUD
  • gps altitude
  • gps fix status and hdop
  • flight time
  • rssi value
  • transmitter voltage
  • home distance
  • home heading as rotating triangle
  • mavlink messages with history accessible with +/- buttons short press
  • english sound files for selected events: battery levels, failsafe, flightmodes and landing

Installation

The script is quite big and compilation on your radio may fail. The safest way is to compile it on Companion and then copy the .luac compiled version to the SD card in the /SCRIPTS/TELEMETRY folder.

To enable sound files playback copy them to /SOUNDS/yaapu0/en folder.

Hardware requirements

Please refer to the arducopter wiki for information on how to configure your flight controller for passthrough protocol

For information on how to connect the FrSky equipment together, please refer to

Test Mode

The script can be run in TEST mode. By using TEST mode you can control the telemetry values by moving the radio sticks.

PLEASE DO NOT FLY IN THIS MODE

To enable TEST mode you need to uncomment some code and recompile the script.

the first change is in function telemetryEnabled which should be as below

local function telemetryEnabled()
	if getValue("RxBt") == 0 then
		noTelemetryData = 1
	end
	return true
	--return noTelemetryData == 0
end

the second part that needs to be changed is in the run() function where the line symMode() must be uncommented

local function run(event) 
   ...
			processTelemetry()
			lcd.clear()
			symMode()
			drawHud()
			drawGrid()
			drawBattery()
   ...

Now you can test how the script behaves by using your radio channels 1,2,3,4,10 and 12.

Notes

Speech sound files generated with https://soundoftext.com/

As of now only english is supported

frskytelemetry's People

Contributors

yaapu avatar

Stargazers

Roland Jung avatar

Watchers

James Cloos avatar

Forkers

craigelder

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.