Play altitude - feature request

openTx has introduced a range of new features, ideas and bling. It is fast becoming the firmware of choice for many users. openTx will run on ALL current hardware platforms, including the gruvin9x and sky9x boards. Work has already started to support the new FrSky X9D radio!
Post Reply
manu
Posts: 106
Joined: Thu Dec 29, 2011 7:02 am
Country: -
Location: St. Gallen, Switzerland

Play altitude - feature request

Post by manu »

For a DLG it would be terrific, if the altitude would be played automatically after climb/throw.
Say, when it's starting to sink, play the actual altitude.
How about:
- store altitude in a GVAR 2 times a second
- if (alt < GVAR) play alt(or GVAR) once

I suppose this is not possible at the moment but an idea for a nice feature
regards
manu

User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Play altitude - feature request

Post by Kilrah »

I think that would be a pretty appropriate purpose for a lua script in next release...
manu
Posts: 106
Joined: Thu Dec 29, 2011 7:02 am
Country: -
Location: St. Gallen, Switzerland

Re: Play altitude - feature request

Post by manu »

Oh yes. I'm pretty curious how this works out.
FigNewton
Posts: 23
Joined: Tue Apr 08, 2014 6:20 pm
Country: -

Re: Play altitude - feature request

Post by FigNewton »

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 trigger the Custom Function to call out the altitude.
manu
Posts: 106
Joined: Thu Dec 29, 2011 7:02 am
Country: -
Location: St. Gallen, Switzerland

Re: Play altitude - feature request

Post by manu »

Hi FigNewton
This might be a solution! But the switch value (-8 meters) is way to coarse. Why can't I select a smaller value? Like -1 Meter?
regards
manu

User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Play altitude - feature request

Post by Kilrah »

Because due to 9x heritage there was only one byte to store the value. As you can't do much with +/- 127m it's multiplied by 8. That limitation is gone in 2.0.

Post Reply

Return to “openTx”