Code Monkey home page Code Monkey logo

taranis360panorama's Introduction

#FrSky Taranis Script for 360° Panorama

Telemetry Screen Telemetry Screen2

##How to install the Script?

  1. Put the script.lua file on your Taranis SD-Card at "\SCRIPTS\TELEMETRY"
  2. Edit your OpenTX Model and add the script to a telemetry page
  3. Go out and shoot some 360° Panorama!

##How to setup the Script?

You need to edit the script and set the channel of your Pitch and Yaw Axis of your Gimbal as well as the Channel for your Camera Shutter.

local shutCh = 4 = Shutter @ Channel 4

local yawCh = 3 = Yaw @ Channel 3

local pitchCh = 2 = Pitch @ Channel 2

##How to tune the Script?

The script adds custom inputs at Input17 on your Taranis that you can edit to adapt it to your gimbal


You can set the speed of one gimbal roation step with the inputs yawVal and pitchVal, default is 10 (Max. PWM)


You can set the duration of one gimbal roation step with the parameters pitchDur and yawDur, default is 10 (1sec)


You can set the amount of steps for one 360° rotation with the parameters yawStp and pitchStp

###Advanced Setup

The script uses 3 Special Functions at index 60,61 and 62 as default, you can change them with the parameters shutCFIndex, yawCFIndex and pitchCFIndex if you want, but there is no need to if you aren't using them.


The script inserts inputs at at index 16 (Input17) at default. If you already use this input, you can change the index with the inputIndex parameter.

taranis360panorama's People

Contributors

julianberger avatar

Stargazers

 avatar

Watchers

 avatar

taranis360panorama's Issues

Error in line 153 on Taranis

I received an error in line 153, 155 and 156 of the script on my Taranis radio, saying no arythmetics are allowed in global variables (i guess).
So, instead of

lcd.drawNumber(62, 27, curShot, MIDSIZE + RIGHT)

I removed "+" sign and made this

lcd.drawNumber(62, 27, curShot, MIDSIZE, RIGHT)

This is working for me well.

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.