![]() |
Re: modRana on Android
Quote:
So far I've found ShareGPS, which basically should create a device in /dev which you should then be able to start gpsd with in chroot. However, it seems ShareGPS is broken, as it doesn't report any GPS data on Droid 3... I'll experiment further... |
Re: [Announce] modRana: a flexible GPS navigation system
I've finally got some decent text to speech working with modRana using Google's translate TTS service, instead of using espeak.
For any one who is interested: Change the voice parameter in the settings [sound>voice>string] to: /home/user/tts.sh "%qmessage%" and then create an executable bash script, with the following: Code:
inp="$*" I can't seem to find any API documentation to see if Google allow this, but I've read many iPhone/Android apps. take advantage of it, so maybe. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Other than that, I can't really see any other way of having a decent TTS without an internet connection because I don't believe any TTS engine has been ported over. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Any way, the workaround is there for any one who wants a more natural voice, and is prepared to keep their internet connection open. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
A shame really.... |
Re: modRana on Android
Great success!!! I was able to get modRana to run on Android with gpsd navigation and all...
Thanks to skykooler, I eliminated the option of running modRana native on Android right away. The only way to run is in debian chroot. Now the process basically is: - Install BlueNMEA from the Market in Android. - Run BlueNMEA It enables you to connect to the GPS data via tcp... - In the debian chroot run: Code:
gpsd -N tcp://127.0.0.1:4352 - Run modRana in the chroot, it navigates fine and everything. Whoa!!! Now, based on my findings of running modRana in chroot so far, I have the following two requests: - An exit button is SORELY needed for modRana. This is not evident on the N900, where you exit via the x, however running StumpWM there is no window decoration, and no way to exit modRana. The only option is to kill it, and I'm afraid that exit is not clean, as it leaves python hanging etc. So please, an Exit button for a clean exit from modRana. - Display orientation is NOT working, i.e. no matter if I select horizontal or landscape, the rotation is still the same. Automatic rotation doesn't work in the chroot, as X is accessed via TightVNC android VNC viewer, and obviously it doesn't give any signal. Can the rotation be fixed? And a rotation button, maybe optional would also be handy in the UI. Sidenote, currently there is no espeak output in the chroot, as I can install espeak, however Android sound implementation obviously has nothing to do with alsa or pulse, and thus not sure how to get sound output in the chroot... Will investigate this further. If anyone has any hints on getting sound in the chroot, please mention those... But basically, our modRana is WORKING in Android! |
Re: modRana on Android
Quote:
Quote:
Quote:
I have added a new android_chroot device module, that adds a Quit button to the main menu if used. To use it (and thus get the Quit button), just run the main executable like this: Code:
./modrana.py android_chroot Quote:
The other possibility is to do the rotation entirely in modRana, which while doable, is not exactly easy. :) It would need to:
Quote:
Or producing a sound file with espeak (it can output wav files) and somehow playing it back outside of chroot. Quote:
PS.: Photos of modRana running on an Android handset would look really really nice on the modRana project frontpage! :) |
All times are GMT. The time now is 11:59. |
vBulletin® Version 3.8.8