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)

Arthuro_Adam 2012-07-22 18:23

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Thanks for your work, it's a great achivement.

Is it possible to add settings to define which route (quickest, shortest, etc.) do you prefer?

sony123 2012-07-23 08:33

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

Originally Posted by Arthuro_Adam (Post 1241325)
Thanks for your work, it's a great achivement.

Is it possible to add settings to define which route (quickest, shortest, etc.) do you prefer?

Adding the option somewhere isn't difficult, but do those settings work reliably enough? The earlier feedback I read seems to be optimal isn't, shortest and fastest are. Is that the consensus?

sony123 2012-07-23 08:36

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

Originally Posted by mbanck (Post 1241246)
Using duration (the raw ttd in seconds) instead of readableDuration.value works as well, and still displays "-" if there is e.g. no GPS lock, as is shows for distance (otherwise you get "-" for distance and "-1" or "0" for ttd, which looks odd).

Patch: http://paste.debian.net/180207/

Thanks a lot! I should have tested more thoroughly to see why you added the sanity checking.

mbanck 2012-07-23 11:06

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

Originally Posted by sillieidiot (Post 1240934)
went through the whole thread and i guess no one has this problem or has not even used their nokia drive for navigation yet. but i used it after applying the automatic colors and traffic and when navigating it shows a crazy route.

basically somewhere in the middle of the route it'll do some crazy like star pattern route, then like a mile after that it's back on track (does it every few miles). also when showing a street where you have to go straight for awhile then the same street starts turning, the blue line doesn't stay on the road all the time. sometimes, it's a perfectly straight line that cuts across when the street curves.

what's weird about it is that when you look at the overview of the route it's perfect, it's when you drive it starts telling to turn left when there's no exit and then you see that crazy line it wants you to follow.

sorry i couldn't provide screen shots. after this, i decided to delete my map data and re-download them to see if it will help. i haven't used it to navigate anything thus far.

Hrm, did you also apply the "optimized route" patch from http://talk.maemo.org/showpost.php?p...&postcount=189 ?

Would be usefule to know whether the behaviour you saw was possibly because of the patch and route option.

mbanck 2012-07-23 11:11

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

Originally Posted by sony123 (Post 1241507)
Adding the option somewhere isn't difficult, but do those settings work reliably enough? The earlier feedback I read seems to be optimal isn't, shortest and fastest are. Is that the consensus?

I went through the thread again, and the only possible feedback I saw was the post from sillieidiot I just replied to.

As the optimized-route patch is not included in colin.stephane's UNSTABLE patch, I guess not many tried it yet.

colin.stephane 2012-07-23 13:58

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

Originally Posted by mbanck (Post 1241562)
I went through the thread again, and the only possible feedback I saw was the post from sillieidiot I just replied to.

As the optimized-route patch is not included in colin.stephane's UNSTABLE patch, I guess not many tried it yet.

Hi mbanck,

True, after reading your explanations, I decided to not include this patch even in the Unstable branch because there is no easy UI to change options of routing, and we all know how newbies tend to ask many questions if they have to go console to edit and change something ...

A++

WhitP 2012-07-23 17:25

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
I'm giving the optimized route patch a go but I don't do much heavy duty navigating during rush hour so my feedback won't be as useful as some. However, no weirdness happening yet!

solstice88 2012-07-23 19:40

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
3 Attachment(s)
happy to report some feedback mbanck.

I got a chance to test the optimal route. I picked two random routes that had heavy traffic to commute to. Using the patch you provided and changing the routeOptionType values. Here is one of the routes.
Hope this helps you out.

taviman 2012-07-23 21:10

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

apt-get install -y --reinstall nokia-drive-qml && sync && patch -p0 -i /home/user
/MyDocs/Patch-to-enable-traffic-*.diff
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
nokia-drive-qml
1 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0B/1,817kB of archives.
After this operation, 0B of additional disk space will be used.
(Reading database ... 57983 files and directories currently installed.)
Preparing to replace nokia-drive-qml 2.0.8+0m8 (using .../nokia-drive-qml_2.0.8+0m8_armel.deb) ...
Unpacking replacement nokia-drive-qml ...
aegis-installing nokia-drive-qml (from 'com.nokia.maemo')
Processing triggers for desktop-file-utils ...
Processing triggers for applauncherd-launcher ...
Setting up nokia-drive-qml (2.0.8+0m8) ...
Updating desktop entries... Done
(Stripping trailing CRs from patch.)
patching file /usr/lib/drive-qml/components/InfoDistance.qml
(Stripping trailing CRs from patch.)
patching file /usr/lib/drive-qml/components/Dashboard.qml
(Stripping trailing CRs from patch.)
patching file /usr/lib/drive-qml/views/guidancePage.qml
(Stripping trailing CRs from patch.)
patching file /usr/lib/drive-qml/views/guidanceMenuPage.qml
(Stripping trailing CRs from patch.)
patching file /usr/lib/drive-qml/views/assistancePage.qml
(Stripping trailing CRs from patch.)
patching file /usr/lib/drive-qml/views/settings/mapModeSettingsPage.qml
(Stripping trailing CRs from patch.)
patching file /usr/lib/drive-qml/views/settings/assistanceModeSettingsPage.qml
(Stripping trailing CRs from patch.)
patching file /usr/lib/drive-qml/views/settings/settingsPage.qml
(Stripping trailing CRs from patch.)
patching file /usr/lib/drive-qml/models/AppSettingsModel.qml
(Stripping trailing CRs from patch.)
patching file /usr/lib/drive-qml/models/MapSettingsModel.qml
patch unexpectedly ends in middle of line
Hunk #5 FAILED at 158.
1 out of 5 hunks FAILED -- saving rejects to file /usr/lib/drive-qml/models/MapSettingsModel.qml.rej
~ #



For me the mod doesn't work, Drive hangs while calculating the route.
The only working mod was the solution provided by jd400.

Have I made any mistakes?

oh, have to mention I tried with both stable and unstable versions.

thedead1440 2012-07-24 02:29

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
taviman, simply edit the files manually on your desktop and then transfer them over...


All times are GMT. The time now is 12:10.

vBulletin® Version 3.8.8