Oscilloscope addon: Difference between revisions
No edit summary |
|||
Line 15: | Line 15: | ||
= Background = | = Background = | ||
{{cquote|I was just thinking today that it might be cool to have a built in grapher for simple / quick graphing needs. | {{cquote|I was just thinking today that it might be cool to have a built in grapher for simple / quick graphing needs. | ||
With the property system it would be trivial to pick an arbitrary property from the property tree and graph it over time -- superimposed on top of everything else. | With the property system it would be trivial to pick an arbitrary property from the property tree and graph it over time -- superimposed on top of everything else. | ||
Things get a bit trickier if you want to control scaling, how much time history get's graphed, multiple values, etc., but even graphing a single value (or maybe just two values) over time could be of some use. | Things get a bit trickier if you want to control scaling, how much time history get's graphed, multiple values, etc., but even graphing a single value (or maybe just two values) over time could be of some use. | ||
I thought I'd toss this out there in case someone thought it was worth while enough to tackle.<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@flightgear.org/msg03651.html |title=idea ... (?)|author=Curtis Olson |date=Fri, 08 Mar 2002 07:43:35 -0800}}</ref>|Curtis Olson}} | I thought I'd toss this out there in case someone thought it was worth while enough to tackle.<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@flightgear.org/msg03651.html |title=idea ... (?)|author=Curtis Olson |date=Fri, 08 Mar 2002 07:43:35 -0800}}</ref>|Curtis Olson}} | ||
= Instalation = | = Instalation = | ||
Line 28: | Line 24: | ||
If your FGFS version accepts [[Addons]], you can download this feature from the [https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Addons/Oscilloscope/ Addons Repository]. Download all the 11 files into the directory of your choice. | If your FGFS version accepts [[Addons]], you can download this feature from the [https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Addons/Oscilloscope/ Addons Repository]. Download all the 11 files into the directory of your choice. | ||
Launch FlightGear including --addon argument, eg.: | Launch FlightGear including --addon argument, eg.: | ||
<syntaxhighlight> fgfs <usual args> --addon=/path/to/fgaddon/Oscilloscope</syntaxhighlight> | <syntaxhighlight> fgfs <usual args> --addon=/path/to/fgaddon/Oscilloscope</syntaxhighlight>{{note | From version 2017.4.0, the FG launcher accepts the ''--addon'' option in his ''Settings/Additional Settings'' tab.<br /> | ||
{{note | From version 2017.4.0, the FG launcher accepts the ''--addon'' option in his ''Settings/Additional Settings'' tab.<br /> | |||
}}Otherwise, you can install it as a submodule. Contact the author for further instructions. | }}Otherwise, you can install it as a submodule. Contact the author for further instructions. |
Revision as of 16:20, 31 January 2018
Work in progress This article or section will be worked on in the upcoming hours or days. Note: Although still incomplete, the information it contains is valid and available. See history for the latest developments. |
This oscilloscope was created as an example of the use of 3 helpers included in the addon:
* skinnable.nas to create Canvas GUI dialogs including multiple clickable layers. * graph.nas to create various types of Canvas instruments.[2] * plot2D, nas. the very basic Canvas helpers. But apart from that, the oscilloscope itself may be an useful tool for developers and coders. Although I do not know any aircraft that has this instrument in its panel, the on-board engineer will eventually appreciate having it on hand at some point.
Background
I was just thinking today that it might be cool to have a built in grapher for simple / quick graphing needs.
With the property system it would be trivial to pick an arbitrary property from the property tree and graph it over time -- superimposed on top of everything else. Things get a bit trickier if you want to control scaling, how much time history get's graphed, multiple values, etc., but even graphing a single value (or maybe just two values) over time could be of some use. I thought I'd toss this out there in case someone thought it was worth while enough to tackle.[3]— Curtis Olson
|
Instalation
Note This is the latest version (Jan 30, 2018) |
If your FGFS version accepts Addons, you can download this feature from the Addons Repository. Download all the 11 files into the directory of your choice. Launch FlightGear including --addon argument, eg.:
fgfs <usual args> --addon=/path/to/fgaddon/Oscilloscope
Note From version 2017.4.0, the FG launcher accepts the --addon option in his Settings/Additional Settings tab. |
Otherwise, you can install it as a submodule. Contact the author for further instructions.
- ↑ rleibner (Jan 6th, 2018). Re: Plot2D and graph helpers .
- ↑ rleibner (Dec 27th, 2017). Re: Spoken GCA .
- ↑ Curtis Olson (Fri, 08 Mar 2002 07:43:35 -0800). idea ... (?).