maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps (https://talk.maemo.org/showthread.php?t=85353)

Arie 2012-07-10 21:41

Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
 
Quote:

Originally Posted by Morpog (Post 1235603)
Could you do a second diff patch to add this functionality? I don't feel like adding Aries files, as they seem to be from PR1.2s Drive.

Or at least do a summary what to do.

Thanks!

The files are from PR1.3's Drive.

solstice88 2012-07-10 21:55

Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
 
Cool. confirming my previous post. It works and looks great!!

sony123 2012-07-10 22:53

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Thanks guys for confirming that automatic day/night work. I saw the comments and took the non-working status for granted....
Updated first post to include automatic mod as well, will include new patch when it's available.

sony123 2012-07-10 23:38

Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
 
Quote:

Originally Posted by Morpog (Post 1235622)
Last missing item would be the ability to touch the "distance left" to switch it to "time left". Symbians drive had that.

And traffic rerouting of course, but I doubt this is hidden in there....

I don't think there are codes for these features. But I think the first one community can implement it.

I took a look at the source code, it should be in components/Dashboard.qml. The speed and distance blocks are wrapped under AssistanceItem {}. We have speed and distance variables available so distance/speed + some decoration to beautify the output and alas we have the minutes left to destination. However, I think in GPS they do something extra to avoid erratic jumping of the value, for example smooth the speed over a certain period. Any idea on how to do the smoothing?

Traffic re-route might be tricky, I haven't looked deeper but I would think we need get info from traffic and routing models to know there is traffic event along the original route. Unless there are some ready-to-use signals to trigger re-route event....

sony123 2012-07-10 23:44

Re: [MOD] How to enable Traffic in Drive for PR1.2/1.3
 
Quote:

Originally Posted by sony123 (Post 1235697)
I don't think there are codes for these features. But I think the first one community can implement it.

I took a look at the source code, it should be in components/Dashboard.qml. The speed and distance blocks are wrapped under AssistanceItem {}. We have speed and distance variables available so distance/speed + some decoration to beautify the output and alas we have the minutes left to destination. However, I think in GPS they do something extra to avoid erratic jumping of the value, for example smooth the speed over a certain period. Any idea on how to do the smoothing?

Traffic re-route might be tricky, I haven't looked deeper but I would think we need get info from traffic and routing models to know there is traffic event along the original route. Unless there are some ready-to-use signals to trigger re-route event....

Maybe someone with Symbian devices can also try seeing if the Drive app on Symbian is written in QML. If so, then we would have a reference...

myk 2012-07-11 01:22

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
I get
Quote:

-sh: /usr/bin/patch: Operation not permitted
Problem with Aegis? Normal 755 perms.

Am seeing APT problems - related? Aegis will not let me upgrade fennec, and " cannot be authenticated! libgpg-error0 libpcap0.8 libpixman-1-0".

I tried to use the zip file linked above, but no unzip on the N9. So why use zip instead of tar?

jd4200 2012-07-11 02:13

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Patch for day/night mode has been added:
http://talk.maemo.org/showpost.php?p...1&postcount=27

Morpog 2012-07-11 06:56

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Thanks for that!

Morpog 2012-07-11 08:12

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
I applied the patch and switched to auto, but now it's at night mode and it's definately not night atm :)

Any idea?

jimthefly 2012-07-11 08:13

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Same here, only night mode.


All times are GMT. The time now is 04:24.

vBulletin® Version 3.8.8