Giter Site home page Giter Site logo

ilihack / luapilot_taranis_telemetry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jace25/lua-taranis-pixhawk

37.0 37.0 19.0 6.96 MB

This Script LuaPilot is a nice Telemetry screen for Taranis for Arducopter and more

License: GNU General Public License v2.0

Lua 100.00%

luapilot_taranis_telemetry's People

Contributors

astrohome avatar bkueng avatar ckonecny avatar gulp79 avatar ilihack avatar jace25 avatar thedevleon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

luapilot_taranis_telemetry's Issues

Adding TELEMETRY for FPV QUADS

I have a SPF3 Flight controller that puts out the flight modes in the Temp1 or Tmp1.
https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=0ahUKEwiw0vnnys7OAhUIVyYKHaxRBzoQjRwIBw&url=http%3A%2F%2Fwww.rjxhobby.com%2Frjx-q3083&psig=AFQjCNHHQzjzXy8tjBcJfNnPACL7mQROgA&ust=1471734075485874

The data comes through as a 5 digit number with the last 2 digits indicating flight modes and arm status. I would really like to see if anyone would be interested in adding this additional data so all the FPV pilots could use this script.. I also would like to have an indicator showing if the drone is ARMED.

For example
10000= ACRO MODE + not ready to arm
10001 = ACRO MODE + Ready to Arm
10005 = ACRO MODE + Armed
10015 = ANGLE MODE + Armed
10025 = HORIZON MODE + Armed

I was trying to figure out the code myself but did not know how to only look at the first two digits starting from the right?

@thedevleon Any thoughts?

Script Execution Error

When I try to execute the script I get the splash screen, then "Script Syntax error". I am executing the script on Taranis X9D Plus by entering setup, going to page 2 going to scripts -> telemetry and executing the script.

I did go into the sensor setup and discovered all of the sensors coming from the Pixhawk through X8 serial port.

OpenTX 2.2

With OpenTX 2.2 the Telemetry Script name must be 6 caracters or less. So change shorten the scriptname.

Something with speed calculation isn't correct. I change it the following way:

629 drawText(getLastPos(), 25, round(data.spd1.851), MIDSIZE)
630 drawText(getLastPos(), 29, "kmh", SMLSIZE)
to
629 drawText(getLastPos(), 25, round(data.spd
1.851*2), MIDSIZE)
630 drawText(getLastPos(), 29, "km/h", SMLSIZE)

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.