|
2011-11-10
, 17:46
|
|
Posts: 451 |
Thanked: 424 times |
Joined on Apr 2010
@ England
|
#902
|
inp="$*" newinp="$(echo $inp | sed 's/<[^>]*>//g')" mplayer http://translate.google.com/translate_tts?q="$newinp"
|
2011-11-10
, 18:18
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#903
|
The Following 2 Users Say Thank You to skykooler For This Useful Post: | ||
|
2011-11-10
, 19:28
|
|
Posts: 451 |
Thanked: 424 times |
Joined on Apr 2010
@ England
|
#904
|
The only problem I see here is that it requires a constant Internet connection...
The Following User Says Thank You to jd4200 For This Useful Post: | ||
|
2011-11-11
, 15:47
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#905
|
The Following User Says Thank You to skykooler For This Useful Post: | ||
|
2011-11-11
, 15:53
|
Posts: 1,523 |
Thanked: 1,997 times |
Joined on Jul 2011
@ not your mom's FOSS basement
|
#906
|
The Following User Says Thank You to don_falcone For This Useful Post: | ||
|
2011-11-11
, 20:07
|
|
Posts: 451 |
Thanked: 424 times |
Joined on Apr 2010
@ England
|
#907
|
What do you mean? Espeak sounds pretty good, at least as good as the TTS built into Android.
The Following User Says Thank You to jd4200 For This Useful Post: | ||
|
2011-11-11
, 21:37
|
Posts: 650 |
Thanked: 497 times |
Joined on Oct 2008
@ Ghent, Belgium
|
#908
|
|
2011-11-17
, 17:03
|
Posts: 451 |
Thanked: 334 times |
Joined on Sep 2009
|
#909
|
gpsd -N tcp://127.0.0.1:4352
|
2011-11-17
, 20:31
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#910
|
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:
gpsd will complain about not being able to connect to dbus, as it's not functional in chroot, however it'll run and it'll access the GPS data.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.
./modrana.py android_chroot
- 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...
The Following User Says Thank You to MartinK For This Useful Post: | ||
Tags |
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps |
|
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...