Search found 23 matches

by FigNewton
Sat Dec 05, 2015 1:20 am
Forum: openTx
Topic: 2.1 & GPS coordinates from LUA
Replies: 7
Views: 7581

Re: 2.1 & GPS coordinates from LUA

Just to answer this in case anyone is searching, the pilot-longitude and pilot-longitude should be available in 2.1.7. In my 2.1.x lua scripts up to this point I was just using the first lat/lon that I received as the pilot values. We should be able to go back and get them from the sensor once the c...
by FigNewton
Sun Oct 18, 2015 6:26 am
Forum: openTx
Topic: 2.1 & GPS coordinates from LUA
Replies: 7
Views: 7581

Re: 2.1 & GPS coordinates from LUA

Helle,
First, thanks for the reply. Do you know if the "pilot-longitude" and "pilot-latitude" are available? They were the initial lon and lat that the gps sensor would lock on.
by FigNewton
Sat Oct 17, 2015 4:36 am
Forum: openTx
Topic: 2.1 & GPS coordinates from LUA
Replies: 7
Views: 7581

Re: 2.1 & GPS coordinates from LUA

I too would like to see the solution to this. Even if we just need to parse them out of a complete string.
by FigNewton
Wed Jul 16, 2014 3:51 pm
Forum: openTx
Topic: [Full automatic takeoff]
Replies: 7
Views: 5654

Re: [Full automatic takeoff]

Let me add that I do believe that this would be possible with OpenTX with one caveat. You need enough sensors sending back the right telemetry. I was able to get an altitude hold set up using .2940, but I found out quickly that having just the altitude and rate of climb wasn't enough for my glider a...
by FigNewton
Sat Jul 12, 2014 2:55 am
Forum: openTx
Topic: Lua Telemetry scripts
Replies: 54
Views: 38897

Re: Lua Telemetry scripts

Is it just me or are people being really impatient about all of this? I am not downplaying any extra work that's done, but Bertrand, feel free to state that you just need time to flesh all of this out if that's the case. If you need coding help, I would be willing to see if I could help out myself, ...
by FigNewton
Tue Jul 01, 2014 6:55 pm
Forum: openTx
Topic: Lua Telemetry scripts
Replies: 54
Views: 38897

Re: Lua Telemetry scripts

Awesome!! I keep saying this, and will say it again, this going to be a major game changer...
by FigNewton
Tue Jul 01, 2014 1:00 am
Forum: openTx
Topic: REQUEST - OpenTX 2.x GPS Horizontal Distance
Replies: 6
Views: 5577

Re: REQUEST - OpenTX 2.x GPS Horizontal Distance

or solve ist with a lua script. Perhaps the person who did the gps heading can do it because it should be very similiar. That was me. :) I can put this on my list. i guess the question then becomes, what kind of script do we want this as? A model script where the distance can just be plugged in as ...
by FigNewton
Tue Jul 01, 2014 12:27 am
Forum: openTx
Topic: Pot sound enabled
Replies: 1
Views: 2257

Re: Pot sound enabled

Use the value of the pot to trigger a Logical Switch. For instance: L1 a>x S1 50 L2 a<x S1 -50 Then as you move the pot S1 above 50, L1 will be triggered. Move it down below -50 and L2 will be triggered. You then set up a Special Function to play your track when each of these switches is triggered. ...
by FigNewton
Thu Jun 26, 2014 7:30 pm
Forum: openTx
Topic: 2.0.4 eeprom backup doesn't have time stamp.
Replies: 3
Views: 3414

Re: 2.0.4 eeprom backup doesn't have time stamp.

So I read the thread and understand. Seems like you just can't win sometimes huh. How about checking to see if the filename exists and then asking to overwrite or append something like a _1 to the name? Should I take this conversation over to github?
by FigNewton
Thu Jun 26, 2014 2:52 pm
Forum: openTx
Topic: 2.0.4 eeprom backup doesn't have time stamp.
Replies: 3
Views: 3414

2.0.4 eeprom backup doesn't have time stamp.

So with 2.0.4 when I [ENTER long] to backup the EEPROM it looks like the timestamp was removed and now I am getting only: eeprom-2014-06-26.bin Is there a reason the time was removed from the filename? I really liked that. Now if I make a change during the day and want to keep multiple backups, it j...
by FigNewton
Thu Jun 12, 2014 5:19 pm
Forum: openTx
Topic: Lua scripting output and CompanionTX
Replies: 16
Views: 11205

Re: Lua scripting output and CompanionTX

Bertrand,
I know you are up to your eyeballs. If there is anything I can do to help you out, especially with Lua let me know. Even if it's something like taking a line of code and turning it into 50 identical lines with different variable names...
Fig
by FigNewton
Mon Jun 09, 2014 2:21 pm
Forum: openTx
Topic: Lua scripting output and CompanionTX
Replies: 16
Views: 11205

Re: Lua scripting output and CompanionTX

Thanks to both of you. The link to the code helped tremendously. And no rush, I completely understand. For the logging, I was thinking that it could just be appended to the current logs generated. Mulling this over in my head, if you wanted the model script to perform it's own logging, it might be a...
by FigNewton
Sun Jun 08, 2014 10:56 pm
Forum: openTx
Topic: Lua scripting output and CompanionTX
Replies: 16
Views: 11205

Re: Lua scripting output and CompanionTX

Bertrand, Another suggestion/request. Maybe coding in the possiblity to log the Model script outputs. I was trying to test out my GPS Heading lua today and it was almost impossible to kep track of the value and fly the plane at the same time. I got my 70yo dad to help out and it was better but still...
by FigNewton
Sun Jun 08, 2014 5:51 pm
Forum: openTx
Topic: Lua scripting output and CompanionTX
Replies: 16
Views: 11205

Re: Lua scripting output and CompanionTX

I agree. Keep them sorted between Model and One Time Run. So is there a list somewhere that has all of the inputs we can get for getValue? I know the current docs dinamich wrote up list the lat, long, pilot lat, pilot long, altitude. Are we just waiting for them all to be integrated, or possibly map...
by FigNewton
Sat Jun 07, 2014 10:38 pm
Forum: openTx
Topic: Lua scripting output and CompanionTX
Replies: 16
Views: 11205

Re: Lua scripting output and CompanionTX

That is sweet. I am testing my GPS heading Lua script, and it will have a Current heading, heading of the plane from the pilot point, and the reverse heading so that if you needed to, you could theoretically fly the plan home by pointing it in that direction. All through lua scripts.
by FigNewton
Sat Jun 07, 2014 3:00 pm
Forum: openTx
Topic: Lua scripting output and CompanionTX
Replies: 16
Views: 11205

Re: Lua scripting output and CompanionTX

Along the same lines, would it be possible to have Lua script output displayed on the Telemetry page? I wrote a Lua script for GPS heading, and at this point, the only way to see the value is to go to the Lua scripts tab on your model and click on the specific Lua script. I am sure this comes with t...
by FigNewton
Fri Jun 06, 2014 2:26 pm
Forum: openTx
Topic: Lua scripting output and CompanionTX
Replies: 16
Views: 11205

Re: Lua scripting output and CompanionTX

What he's meaning is that there is no tab in companion that matches the LUA page in the radio to select scripts and assign inputs/enter settings, and lua script outputs (that can be taken as source in the mixer) are not recognised by companion either in the mixer editor. That's a rather complicated...
by FigNewton
Fri Jun 06, 2014 6:43 am
Forum: openTx
Topic: Lua scripting output and CompanionTX
Replies: 16
Views: 11205

Lua scripting output and CompanionTX

So has there been any brainstorming on how to handle the Lua scripting in CompanionTX? I know there is no Lua tab, so any scripts have to be set up in the radio. I also found that if I use the output to trigger a Logical Switch, when I load the eepe into CompanionTX the Lua Output name comes up blan...
by FigNewton
Thu Jun 05, 2014 6:19 am
Forum: openTx
Topic: OpenTX 2.0.0
Replies: 295
Views: 274083

Re: OpenTX 2.0.0

xtrmtrk wrote: God I hate Windows.
Then look into a bootable Linux USB stick with persistence.
by FigNewton
Tue Jun 03, 2014 11:27 pm
Forum: openTx
Topic: OpenTX 2.0.0
Replies: 295
Views: 274083

Re: OpenTX 2.0.0

For everyone waiting for a deb file: Just a heads up for us linux folks. I have a Ubuntu based distro and since this isn't an apt-get (.deb) file, you have to work around it. Open it with the Archive Manager and save/extract the files into a folder. In my case I unpacked the RPM into the ~/Downloads...
by FigNewton
Tue Jun 03, 2014 2:47 pm
Forum: openTx
Topic: OpenTX Companion request - Comment fields.
Replies: 4
Views: 3414

OpenTX Companion request - Comment fields.

Got a request for OpenTX. Can we get comment fields? Mainly for Logical Switches and the Custom Functions, but they would probably be helpful in the Mixes and Flight Modes tabs. Don't need them stored in the radio, but they would definitely help out in OpenTX Companion when trying to document some o...
by FigNewton
Tue Jun 03, 2014 2:38 pm
Forum: openTx
Topic: OpenTX 2.0.0
Replies: 295
Views: 274083

Re: OpenTX 2.0.0

Awesome job guys!!
by FigNewton
Tue Apr 08, 2014 6:26 pm
Forum: openTx
Topic: Play altitude - feature request
Replies: 5
Views: 3993

Re: Play altitude - feature request

manu, You can set a Custom Switch to CS1 d>=x ALT -8 The use CS1 to trigger a Custom Function CF1 CS1 Play Value ALT No Repeat I have mine set to when I flip !SC^ then every 15 seconds I have the transmitter call out my altitude. I use a Custom Switch set to TIM 1 14 and then have the CS and !SC^ to...

Go to advanced search