On 03/04/2007 05:37 AM, Melchior FRANZ wrote: .... > _setlistener("/sim/messages/atis", func { print(cmdarg().getValue()) }); ... > _setlistener("/sim/messages/atis", func { > setprop("/sim/screen/blue", cmdarg().getValue()); > });
1) I'm afraid the code would have to be more complicated than that. It would be necessary to deal with the fact that there can be N different "ATC" messages tuned up at the same time, where N >= 4 is common even in simple GA aircraft. 2) Even if it worked, such code would be undesirable ... because the idea of receiving a textual ATIS during flight is unrealistic, in today's general-aviation fleet at least. Printing ATIS text to the console is a) not a debug message, and b) not a feature. It is a temporary workaround to deal with multiple bugs in other subsystems, including: -- There are problems with the audio levels in the "simple" TTS system. -- The FG interface to the "festival" TTS is broken, as previously reported. -- A goodly number of aircraft are using comm radios that don't even have volume-setting knobs. -- et cetera. 3a) Writing the ATIS text to the logfile would not be an improvement, and would not solve the aforementioned problems. 3b) Writing the ATIS text to a bluescreen would not be an improvement, and would not solve the aforementioned problems. 3c) Making ATIS text available via a popup via the "debug" menu would be complicated and IMHO not worth the trouble. It would be a misuse of resources. The development resources would be better spent fixing some of the aforementioned bugs in the audio system. Sometimes it is not possible to fix all the world's bugs at once. The concept of /temporary workaround/ is a well-established concept. More generally, there is a saying: "Do not let the perfect be the enemy of the good." ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel