Thread Tools
Apr 06, 2018, 09:49 PM
Jesper Frickmann
jfrickmann's Avatar
Thread OP
Discussion

F5J and F5K programs for OpenTX transmitters


SoarOTX is a package of sailplane models for OpenTX transmitters. It provides Lua scripts for timing and score keeping, graphing of log data (e.g. altitude graphs), and model configuration. FrSky Taranis and Jumper T12 transmitters are supported, but Horus andT16 are not currently supported, due to lack of interactive Lua scripts.

This thread is for discussion and Q&As for the F5J and K models.
Last edited by jfrickmann; May 19, 2020 at 07:02 AM.
Sign up now
to remove ads between posts
Apr 06, 2018, 10:30 PM
NorCal Electric Soaring (NES)
SoaringDude's Avatar
Wow, what an awesome OpenTX package, very nice work. Really like your Lua script implementation. Thanks much for sharing.

Chris
Apr 07, 2018, 06:43 AM
Registered User
Wow, really cool how you used LUA. Nice job. I won't use it but I'll try it
May 28, 2018, 01:29 PM
Jesper Frickmann
jfrickmann's Avatar
Thread OP
I just added a F3J program to the package. I re-named some Lua scripts to "FXJ" as they are now shared.

I also made a small modification to L47, so the flight timer is stopped by KAPOW mode,
Jun 06, 2018, 02:33 PM
Registered User
vinster100's Avatar
Could this be adapted to a 2 wing servo (Ailerons, no flaps) vtail ship?
Jun 06, 2018, 03:01 PM
Jesper Frickmann
jfrickmann's Avatar
Thread OP
Yes, absolutely. I think that you can do it right out of the box, just don't use the flap channels.

Jesper
Jun 07, 2018, 03:36 AM
Registered User
Sensoar's Avatar
Jesper, does the program have a feature that requires throttle to zero before arming
Jun 07, 2018, 07:39 AM
Jesper Frickmann
jfrickmann's Avatar
Thread OP
Quote:
Originally Posted by Sensoar
Jesper, does the program have a feature that requires throttle to zero before arming
No. To arm, move switch C to neutral, and then up. To start the motor, pull and release F (I have moved the momentary over to F for DLG use). When the motor is on, air brake is disabled, and the throttle stick controls power. You can easily move power or air brake to a slider if you don't like the dual functionality of the throttle stick.

Jesper
Jun 09, 2018, 01:23 AM
Registered User
Sensoar's Avatar
Thanks Jesper, the dual stick is clever with the auto change over at 30 seconds when the motor times out. A couple of questions as I get familiar with the program.

I moved the throttle over to the LS so flaps and throttle are separate and I would like to use this for sport flying where I will use the motor after 30 sec. Is there an easy way to eliminate the 30 sec motor time out, and count up voice.

I noticed that L23 can be changed to a longer interval for the motor timer 2 which would work, however the count up voice continues as well. I did not see a way to mute the voice for the timer count. So basically looking for a method to have the motor be active for the full flight.
Jun 09, 2018, 06:54 AM
Jesper Frickmann
jfrickmann's Avatar
Thread OP
Quote:
Originally Posted by Sensoar
Thanks Jesper, the dual stick is clever with the auto change over at 30 seconds when the motor times out. A couple of questions as I get familiar with the program.

I moved the throttle over to the LS so flaps and throttle are separate and I would like to use this for sport flying where I will use the motor after 30 sec. Is there an easy way to eliminate the 30 sec motor time out, and count up voice.

I noticed that L23 can be changed to a longer interval for the motor timer 2 which would work, however the count up voice continues as well. I did not see a way to mute the voice for the timer count. So basically looking for a method to have the motor be active for the full flight.
To "practically" eliminate the motor time out, go to L23, and change the time limit from 00:29 to 59:59.

To eliminate the motor time count, you have to comment out line 54 of the Lua script JF5Jsk.lua in TELEMETRY. This is done by adding "--" in front of the line:

Code:
		
		if math.floor(prevMt / cnt) < math.floor(mt / cnt) then
--			playNumber(sayt, 0)
		end
Jesper
Jun 10, 2018, 02:08 PM
Registered User
Sensoar's Avatar
Thanks for the detail on how to comment out the count up timer voice. It was a good excuse to finally "look under the hood" and see how lua scripts are put together.

The timer now is muted for continuous motor availability after the 30 sec competition limit. Next question, it seems that the flight modes are not active while the motor is available. Any thought on a way to trigger the flight modes while under a power mode.
Jun 10, 2018, 02:28 PM
Jesper Frickmann
jfrickmann's Avatar
Thread OP
When the motor is running, the "Motor" flight mode is active, so you cannot have other flight modes. As for camber preset, it goes from max. camber set with the throttle trim when the motor is running at minimum power to zero camber at full power. So you can test a thermal with the motor idling and camber on, and then give it full speed with zero camber, if you want to move on. More about that here: https://github.com/jfrickmann/SoarOT...Program#flying

Jesper
Jun 10, 2018, 05:13 PM
Registered User
Sensoar's Avatar
Yes, great features. I guess that there is not a way to have speed, cruise and thermal modes when the motor is active but not running. I tend to make risky decisions that occasionally require a relight when flying so having a motor ready to go saves some excitement.

I am excellent with the "one more turn and I will find the lift" but then waiting too long and getting too low before heading back seems to be a common trait with thermal pilots
Jun 10, 2018, 05:22 PM
Jesper Frickmann
jfrickmann's Avatar
Thread OP
You can arm the motor before you get there, and then quickly start it by pulling and releasing F, if you need it. If you don't need it, you can disarm by moving C back to neutral.

But arming is meant as a safety feature, and if you fly around with it armed all the time, then it may actually be worse than no arming. E.g. if you use the flight timer, and pull F after landing to stop the timer, but end up starting the motor instead. Then your club field will get rototilled for free

Jesper
Jul 14, 2018, 01:55 PM
Jesper Frickmann
jfrickmann's Avatar
Thread OP
I have uploaded a new version of the JFchannels.lua script to GitHub, where I have set the servo limits to +/- 150% in Channel configuration. I have also reworked the code a bit to fix a few minor bugs where values could jump around in extreme cases.
Jesper


Quick Reply
Message:

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion F3K programs for OpenTX transmitters jfrickmann Hand Launch 2126 Yesterday 08:27 AM
Download An Ardupilot frsky telemetry LUA script for the Horus X10/ X12 and Taranis X9D/E/QX7 yaapu Radios 830 Nov 05, 2021 12:06 PM
Download LuaPilot Telemetry Taranis Lua Script ilihack Radios 56 Sep 06, 2018 08:39 AM
Discussion how to get nigelsheffields lua scripts for Taranis to work. nigelsheffield Radios 197 Apr 11, 2017 08:56 AM
Question Taranis: changing menu structure with LUA Script? Tr4n5p0rt3r Radios 4 May 16, 2016 02:22 PM