Index of /FlightGear/misc/accessibility
Name Last modified Size Description
Parent Directory 21-Aug-2010 13:42 -
COPYING 18-Jul-2008 00:07 18k
add_chat-menu_readout.diff 31-Aug-2008 15:53 1k
chat-menu.xml 03-Sep-2008 21:51 12k
old/ 16-Aug-2008 21:28 -
speak.nas 19-Apr-2009 22:15 7k
speak.nas.old 14-Aug-2008 23:23 6k
speak_keys.xml 14-Aug-2008 23:23 2k
speak_text.xml 17-Jul-2008 23:57 1k
Some small FlightGear add-ons
-----------------------------
Copyright (C) 2008 - 2009 Anders Gidenstam
* These programs are free software; you can redistribute them and/or modify
* them under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
What's here
-----------
speak_keys.xml
The main file of the accessiblity add-on.
Usage: Add --config=speak_keys.xml to your FlightGear command line.
(Assuming you have speak_keys.xml in the current directory.)
Keys that trigger readouts:
a KAP140 autopilot mode.
h Readout heading.
i Nav 1 ILS state: Needle deflections and DME distance.
Silent if Nav 1 isn't tuned to a localizer.
o Nav 1 VOR state: Heading to the VOR and DME distance
if available. Silent if Nav 1 isn't tuned to a VOR
or localizer.
q Decrease heading bug heading.
t Current throttle position 0 - 100.
u Altitude AGL and ground type below.
w Increase heading bug heading.
speak.nas
A more advanced parameter readout service for blind flying.
Reads out roll, pitch, airspeed every 3 seconds
and more parameters every 9 seconds.
Place in data/Local/ (create this directory if it doesn't exist).
The script uses festival if available or the generic protocol speak_text.xml.
To use the latter copy speak_text.xml to data/Protocol/ and add
--generic=file,out,10,speak.txt,speak_text to your fgfs command line.
The file speak.txt should be redirected to your text to speak engine of
choice.
Further, you can also redirect the output to a file by specifying
--prop:text-to-speech-file=/tmp/test.txt
Note that the Nasal IOrules must permit the file to be written.
Check your $FG_ROOT/Nasal/IOrules file.
speak_text.xml
A generic protocol that can be used to get the output from speak.nas
into a file if festival isn't available.
speak_flight.xml (old)
A generic protocol file for sending some flight parameters to a file
which can be redirected to some text to speech engine.
Place in data/Protocol/ and start fgfs with the command line parameter
--generic=file,out,0.2,speak.txt,speak_flight