229
edits
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
This '''oscilloscope''' was created as an example of the use of 3 helpers included in the addon: | 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. | * '''skinnable.nas''' to create Canvas GUI dialogs including multiple clickable layers. | ||
* '''graph.nas''' to create various types of Canvas instruments. | * '''graph.nas''' to create various types of Canvas instruments.<ref>{{cite web | ||
|url = https://forum.flightgear.org/viewtopic.php?p=325332#p325332 | |||
|title = <nowiki> Re: Spoken GCA </nowiki> | |||
|author = <nowiki> rleibner </nowiki> | |||
|date = Dec 27th, 2017 | |||
}}</ref> | |||
* '''plot2D, nas.''' the very basic Canvas helpers. | * '''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 = | = Background = | ||
{{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. | |||
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}} | |||
edits