Max altitude
-
- Posts: 7
- Joined: Wed Dec 23, 2015 12:38 am
- Country: -
Max altitude
Hi,
I use Turnigy 9XR PRO + Frsky DJT module + X6R Rx + variometer(w s.port)
I can get altitude in tx monitor , but I can not get "max altitude"
Please tell me how to set telemetry plogram.
kanta
I use Turnigy 9XR PRO + Frsky DJT module + X6R Rx + variometer(w s.port)
I can get altitude in tx monitor , but I can not get "max altitude"
Please tell me how to set telemetry plogram.
kanta
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Max altitude
It seems I haven't got anything in the firmware to display the max altitude from the variometer, only that from the GPS altitude.
I've made a note to add this in.
If you want to see the max altitude after a flying, you could turn logging on, then review the log file on a PC.
Mike.
I've made a note to add this in.
If you want to see the max altitude after a flying, you could turn logging on, then review the log file on a PC.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 7
- Joined: Wed Dec 23, 2015 12:38 am
- Country: -
Re: Max altitude
Mike,
Thank you.
I wait for next update.
kanta
Thank you.
I wait for next update.
kanta
-
- Posts: 7
- Joined: Wed Dec 23, 2015 12:38 am
- Country: -
Re: Max altitude
I got XJT module , X8R RX and Frsky GPS sensor.
I can bind but not get GPS data in my 9xr pro screen.
Is my GPS sensor broken ?
By the way, I can get vario data.
I can bind but not get GPS data in my 9xr pro screen.
Is my GPS sensor broken ?
By the way, I can get vario data.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Max altitude
I have found the GPS can take several minutes to obtain its position. Until then, it doesn't send any data. It needs to be outside or it may never find its position.
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 7
- Joined: Wed Dec 23, 2015 12:38 am
- Country: -
Re: Max altitude
Thank you ,Mike.
I know that.
When Frsky GPS sensor get Location,that LED is flashing slow .
My GPS's LED will also flash slow several minutes later at outside.
kanta
I know that.
When Frsky GPS sensor get Location,that LED is flashing slow .
My GPS's LED will also flash slow several minutes later at outside.
kanta
-
- Posts: 7
- Joined: Wed Dec 23, 2015 12:38 am
- Country: -
Re: Max altitude
Oh sorry,Mike
I succeeded to get GPS signal on My Tx screen.
It was mistake that I bound by D8 mode.
I must bind by D16 mode.
Thank you.
kanta
I succeeded to get GPS signal on My Tx screen.
It was mistake that I bound by D8 mode.
I must bind by D16 mode.
Thank you.
kanta
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Max altitude
If you want max altitude, and you have the GPS working, then the GPS max. altitude is recorded, and shown on the LAT/LONG telemetry screen.
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Max altitude
MikeB, is this something you've enabled in er9x since this post? This is exactly what I'm looking for for DLG use!
Re: Max altitude
What about with vario /Pressure sensor altimeter??
Thanks
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Max altitude
GPS max altitude has been present on that screen for a long time.
The vario max altitude is stored, but it looks like I don't have any way (currently) of displaying it!
Mike.
The vario max altitude is stored, but it looks like I don't have any way (currently) of displaying it!
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Max altitude
Mike,
When do you think you'll have this value accessible? This flying season, or more likely in 2018?
When do you think you'll have this value accessible? This flying season, or more likely in 2018?
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Max altitude
Check this post: viewtopic.php?f=5&t=10338&p=130024#p130024, for a way of detecting max altitude (or max any telemetry value). It is a bit of a fiddle, but should get what you want now.
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 6
- Joined: Thu Nov 30, 2017 7:22 am
- Country: Canada
- Location: Vaughan, ON
Re: Max altitude
Having recently acquired a FrSky High Precision Vario...
Here is another way to display the max altitude from the variometer telemetry data. This uses a model background script to keep track of the highest altitude seen so far. Just a few lines of script code will do the job:
altitude = getvalue( "Alt" )
if maxalt < altitude then maxalt = altitude
if getvalue( "CH17" ) > 0 then maxalt = 0
settelitem( "Cus6", maxalt )
stop
"Cus6" is used in this script to display the max altitude on one of the (two) custom telemetry screens. A scaler may be used to round and/or truncate the "Cus6" value, while renaming the data if so desired. Of course, maxalt could also be rounded/truncated in the script itself, before assigning its value to "Cus6".
CH17 is used to reset the max altitude when needed. The CH17 mixer might look like: CH17 +100% FULL switch (AIL). (This produces channel values of either -100 or 100, as determined by switch AIL in the mix line.)
The script was bench tested on a TGY9X/AR9x with an XJT module, running (test) firmware version ersky9x-pd4r222. Rx's used were an RX6R and RX4R. The script worked without apparent problems on said hardware.
Other maximum (and minimum) telemetry values could equally well be displayed using a similar model background script. Three cheers for scripting then, thank you Mike!
Tony
Edit:
As Mike pointed out, the status of a switch may be accessed directly using the getswitch function. There's no need then to get the value of CH17 in my model script, in order to detect the status of switch "AIL". Because I want to reset maxalt when getswitch( "AIL" ) returns 1, the third script line becomes:
if getswitch( "AIL" ) then maxalt = 0
Wish I would have thought of that myself!
Here is another way to display the max altitude from the variometer telemetry data. This uses a model background script to keep track of the highest altitude seen so far. Just a few lines of script code will do the job:
altitude = getvalue( "Alt" )
if maxalt < altitude then maxalt = altitude
if getvalue( "CH17" ) > 0 then maxalt = 0
settelitem( "Cus6", maxalt )
stop
"Cus6" is used in this script to display the max altitude on one of the (two) custom telemetry screens. A scaler may be used to round and/or truncate the "Cus6" value, while renaming the data if so desired. Of course, maxalt could also be rounded/truncated in the script itself, before assigning its value to "Cus6".
CH17 is used to reset the max altitude when needed. The CH17 mixer might look like: CH17 +100% FULL switch (AIL). (This produces channel values of either -100 or 100, as determined by switch AIL in the mix line.)
The script was bench tested on a TGY9X/AR9x with an XJT module, running (test) firmware version ersky9x-pd4r222. Rx's used were an RX6R and RX4R. The script worked without apparent problems on said hardware.
Other maximum (and minimum) telemetry values could equally well be displayed using a similar model background script. Three cheers for scripting then, thank you Mike!
Tony
Edit:
As Mike pointed out, the status of a switch may be accessed directly using the getswitch function. There's no need then to get the value of CH17 in my model script, in order to detect the status of switch "AIL". Because I want to reset maxalt when getswitch( "AIL" ) returns 1, the third script line becomes:
if getswitch( "AIL" ) then maxalt = 0
Wish I would have thought of that myself!
Last edited by mapleton123 on Mon May 20, 2019 7:46 am, edited 1 time in total.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Max altitude
I recently added the ability to use a custom name for the Cus1 to Cus6 telemetry items. Go to the Telemetry index and select "Sensors" from the popup.
You should be able to read the switch state directly (e.g. getswitch("AIL"), rather than use CH17. To be general purpose, you may also use sysflags() to find out the type of radio, bit 5 of the returned value is set if it is a FrSky type radio with switches SA, SB etc.
Nice example of a background script.
Mike
You should be able to read the switch state directly (e.g. getswitch("AIL"), rather than use CH17. To be general purpose, you may also use sysflags() to find out the type of radio, bit 5 of the returned value is set if it is a FrSky type radio with switches SA, SB etc.
Nice example of a background script.
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 6
- Joined: Thu Nov 30, 2017 7:22 am
- Country: Canada
- Location: Vaughan, ON
Re: Max altitude
Thank you for your comments Mike. Being able to rename Cus1 through Cus6 is yet another lovely feature in erskyTx. I had found it a while ago and then forgot all about it...
Regarding switch state detection: but of course, silly me! I shall repent by reading, and memorizing, your script.pdf document ever more assiduously, and by editing my original posting to point out this much cleaner approach.
Now on to setting up my new S6R receiver. Thanks for all your work on supporting it through S6R.bas and the S6R configuration menu in erskyTx.
Best Regards,
Tony
Regarding switch state detection: but of course, silly me! I shall repent by reading, and memorizing, your script.pdf document ever more assiduously, and by editing my original posting to point out this much cleaner approach.
Now on to setting up my new S6R receiver. Thanks for all your work on supporting it through S6R.bas and the S6R configuration menu in erskyTx.
Best Regards,
Tony