navit / making announcement not execute a command line call as well
ed at kapitein.org
Sun Nov 13 20:50:22 CET 2011
I have something like this in my navit.xml:
<speech type="cmdline" data="/home/navit/scripts/say_it.sh '%s'"/>
and /home/navit/scripts/say_it.sh is a script that does some post
processing for speech,
but you can make it do anything i guess.
The %s is passed on to the script as command line parameters, so you
could first handle
$* in the script and then dim/brighten the screen.
On 11/13/2011 07:32 PM, robin wrote:
> Maybe someone from the openmoko list is using navit and has an idea if one can
> make the <announcement tag not only announce the the next direction to turn to
> but also to execute a command as well.
> My idea would be to have navit fully dimmed if one is travelling on the correct
> path. Once a there are crossings and directions are announced the display will
> change brightness via a fso call. once travelling on the right track again the
> display should be dimmed again.
> anyone has any idea?
> Openmoko community mailing list
> community at lists.openmoko.org
More information about the community