[ gpsdrive ] No developer question, but a question about an older version of gpsdrive
Joerg Ostertag
gpsdrive at ostertag.name
Wed Oct 17 20:57:42 AKDT 2007
Am Mittwoch, 17. Oktober 2007 21:42:04 schrieb Thomas Schönhütl:
> Hi all,
>
> I use gpsdrive-2.10pre2
A little bit outdated, but if it works for you ....
Otherwise you might try gpsdrive-2.10pre4 ?
> on a Toshiba Libretto CT100 (266 MHz, 64 MB RAM,
> 4GB CF-Card as IDE) running with Slackware.
Sounds like a nice little combination.
> I use autogenerated routes
> via maquest.de and convert the routes with a shellscript out of the
> webpage into a way-routename.txt and a way-routename.dsc for festival
> soundserver.
You learn new things every day ;-) I didn't know gpsdrive can handle it's
own .dsc file for festival and routes ...
> This combination works quite good, I have speech output with directions
> and streetnames at all waypoints, really cool.
Thonse are the words we like to hear.
> There is only one fact I want to improve: Because of the slow processor,
> the speech output of the dsc-file is sometimes quite late. I mean the
> text comes near the waypoint and with the car the distance to the
> waypoint is too near to have time to react in the correct matter (turn
> left or right or change the highway).
>
> I found a file "speechout.c" in the sources where I found some
> configuration about the speech output. But I cannot interprete the code
> in the right way.
In gpsdrive.h you 'll find
#define ROUTEREACH (0.02+10*current.groundspeed/(3600*milesconv))
and in route.c:
if (d <= ROUTEREACH || route.forcenext)
This should bring you one step closer...
> Is there a possibility to change the behaviour of gpsdrive in the way
> that the speechoutput comes earlier, let me say about 1000 m on highways
> and about 300 m in cities. So that I have enough time to react in a save
> way!?
For this gpsdrive would have to know if it's on a highway or in the city ...
but for now (gpsdrive-2.10pre4) the groundspeed is taken into calculation of
this.
> Any help is appreciated and I thank you for your efforts!
I hope this helps.
And if you're successfull; a patch and a description on how to do it is
welcome.
-
Joerg
More information about the GPSdrive
mailing list