Go Back   xda-developers > Development and hacking > Windows applications and games

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd November 2009, 10:27 PM
gsmdb gsmdb is offline
Member
 
Join Date: Aug 2008
Posts: 99
Default

Quote:
Originally Posted by Mach2003 View Post
Try using the default settings first (2000,50,50,10000,Enable Speed (not Averaged, Enable Course (not averaged), no logging at all.

See what you get.

Change LagAdvance to tweek your displayed position closer to real position.
The Delta Speed and Distance values tweek the "spin" (position bounces around while stopped), increase these, only if you have that effect. Decrease them if you don't have that effect, and your position updates too slowly when you first start to move from a stop.

If you use the driver while walking, Delta values need to be quite small (20 or so).
In Tomtom, Garmin and supposed other navigator too it is possible to change the mode from car-driving to walking and the "gps-sensitivity" changes automatically correspondance, should it be necessary to change the delta values back and forth to fine-tune it? It will be a little bit complicated/ none user-friendly!!!
Reply With Quote
Sponsored Links

  #2  
Old 3rd November 2009, 11:26 PM
Mandragore Mandragore is offline
Senior Member
 
Join Date: Jul 2008
Posts: 407
Default

Quote:
Originally Posted by Mach2003 View Post
If you use the driver while walking, Delta values need to be quite small (20 or so).
Quote:
Originally Posted by gsmdb View Post
In Tomtom, Garmin and supposed other navigator too it is possible to change the mode from car-driving to walking and the "gps-sensitivity" changes automatically correspondance, should it be necessary to change the delta values back and forth to fine-tune it? It will be a little bit complicated/ none user-friendly!!!
Accuracy, sensitivity and lag compensation all benefit from different delta values, depending on speed, right? So what if the driver could adjust and use adjusted delta values on the fly? The adjustment could be based on:

* the (modded) GPS speed
* user defined minimum and maximum sets of delta values
* or multiple user defined speed ranges and corresponding user defined delta values
__________________
GSM DIAM100 | Powered by udK Syrius Topaz R7 | Radio 1.17.25.09 BS SU | RIL 1.14.25.24 BS | HardSPL 1.40 OliNex | Sashimi

The Matrix has you..
Reply With Quote

  #3  
Old 3rd November 2009, 11:58 PM
peacock93 peacock93 is offline
Member
 
Join Date: Jun 2007
Posts: 61
Default

Mach2003,

With the latest beta(3) I am having the loss of GPS signal using iGO8 continuously. It will come on for about 30 seconds and off for about 30 seconds. It just keeps doing this. I have never had this problem with any other version.

peacock93
Reply With Quote

  #4  
Old 4th November 2009, 12:12 AM
Mach2003's Avatar
Mach2003 Mach2003 is offline
Senior Member
 
Join Date: Sep 2008
Location: Kelowna
Posts: 243
Default

Quote:
Originally Posted by peacock93 View Post
Mach2003,

With the latest beta(3) I am having the loss of GPS signal using iGO8 continuously. It will come on for about 30 seconds and off for about 30 seconds. It just keeps doing this. I have never had this problem with any other version.

peacock93
Thanks for the feedback, I'll look into it further. I plan on updating the Setup UI to include more live data, might be a help in trouble shooting this sort of thing.

Anyone else having this issue, with any other app, and beta3?
__________________
Main: Diamond
Rom: Home Built 6.5.3 28002, Thanks to Da_G
Radio: 1.00.25.05, using Original Rogers rilphone.dll

Spare: Hermes TyTn
Rom: Home Built 6.5.3 28002, Thank You Da_G!

Is your built-in GPS giving you a headache?
GPS Mod Driver - Working Lag Fix, GeoCaching Fix, Multi-Device

If you wish to contribute, click

Reply With Quote

  #5  
Old 4th November 2009, 05:56 AM
Mach2003's Avatar
Mach2003 Mach2003 is offline
Senior Member
 
Join Date: Sep 2008
Location: Kelowna
Posts: 243
Default

Quote:
Originally Posted by peacock93 View Post
Mach2003,

With the latest beta(3) I am having the loss of GPS signal using iGO8 continuously. It will come on for about 30 seconds and off for about 30 seconds. It just keeps doing this. I have never had this problem with any other version.

peacock93
Is it possible that people who are loosing signal also have set SleepTime to a value other than 1000?

As a test, try a value slightly higher than 1000 (1100), and see if that removes the problem for now. All I have found so far, is that sometimes my XP test bed, skips a reading as the read thread (waiting 1000ms) can miss a data read by a few ms (it also happens at 1000ms, just like the real gps chip). Now to be clear, on the phone, there is always a few ms delay between writing and reading, so this *should* not happen there.
__________________
Main: Diamond
Rom: Home Built 6.5.3 28002, Thanks to Da_G
Radio: 1.00.25.05, using Original Rogers rilphone.dll

Spare: Hermes TyTn
Rom: Home Built 6.5.3 28002, Thank You Da_G!

Is your built-in GPS giving you a headache?
GPS Mod Driver - Working Lag Fix, GeoCaching Fix, Multi-Device

If you wish to contribute, click

Reply With Quote

  #6  
Old 4th November 2009, 08:56 AM
boba23 boba23 is offline
Senior Member
 
Join Date: Jan 2008
Posts: 439
Default

Here are the results of my second test this morning mach:

1.) Keeping settings off still gives me kinda dream performance of my GPS :-) Meaning Speed/Course disabled.
2.) I tried Course and Speed enabled, which gave me the same problem as yday. Kinda bouncy/jumpy performance while driving. Meaning my position in IGO hangs every few seconds, and then bounces a bit back/forward. Anyway, not really a good solution
3.) I tried Speed only enabled. Same result as with 2.)

I'll maybe reduce Lag advanced for my ride home from 2000 to 1500ms cause with a few roads it seems I am a little bit ahead of my actual position.

boba
Reply With Quote

  #7  
Old 4th November 2009, 09:45 AM
boba23 boba23 is offline
Senior Member
 
Join Date: Jan 2008
Posts: 439
Default

Mach, can you tell me what settings you are using? Since I read you own a Diamond, you should have pretty much the same GPS Chip I got in my HD. As I said above, I get really bad hangs/bounces when enabling speed or/and course with v1.1.
Do you have those enabled and manage to get a flient position display in navigation apps?
I got the rest of the settings/values still on default, maybe I have to change those in order to have speed/course enabled?

boba
Reply With Quote

  #8  
Old 4th November 2009, 10:21 AM
Mach2003's Avatar
Mach2003 Mach2003 is offline
Senior Member
 
Join Date: Sep 2008
Location: Kelowna
Posts: 243
Default

Quote:
Originally Posted by gsmdb View Post
Confirmed. Steady gps reception running w. Tomtom (set sleeptime 1100)
Great I'll code an extra little bit of time in the read loop!!! With the next release, you can set it back to 1000.

Quote:
Originally Posted by boba23 View Post
Mach, can you tell me what settings you are using? Since I read you own a Diamond, you should have pretty much the same GPS Chip I got in my HD. As I said above, I get really bad hangs/bounces when enabling speed or/and course with v1.1.
Do you have those enabled and manage to get a flient position display in navigation apps?
I got the rest of the settings/values still on default, maybe I have to change those in order to have speed/course enabled?

boba
I am on beta builds, but I normally run with both DeltaSpeed and DeltaDistance set to 20. 10000 for DeltaTime. Enable Speed, EnableCourse, neither averaged. That being said, I think I had to use both averages on for 1.1. Note that at 20's I do get some spin at intersections, but I also get reasonable tracking while walking.

/*********/

Another teaser:

My newest test beta: Added another String at LagAdvance + 500ms, keep the speed and heading the same (don't adjust for curves or acceleration). This sure makes Garmin look better, the map updates twice as often, eliminates the 'jump' every second (now it's half second ), and much smother. I'll play with it a bit more before letting you folks have a crack at it.

Some time tomorow (OK for me it be later today it's 1:20 am now, here) I'll post a v1.2 to add the current beta3 features, another speed fix (real smooth now), and fix the "delay" in reading.
__________________
Main: Diamond
Rom: Home Built 6.5.3 28002, Thanks to Da_G
Radio: 1.00.25.05, using Original Rogers rilphone.dll

Spare: Hermes TyTn
Rom: Home Built 6.5.3 28002, Thank You Da_G!

Is your built-in GPS giving you a headache?
GPS Mod Driver - Working Lag Fix, GeoCaching Fix, Multi-Device

If you wish to contribute, click

Reply With Quote

  #9  
Old 4th November 2009, 09:42 AM
gsmdb gsmdb is offline
Member
 
Join Date: Aug 2008
Posts: 99
Default

Quote:
Originally Posted by Mach2003 View Post
Is it possible that people who are loosing signal also have set SleepTime to a value other than 1000?

As a test, try a value slightly higher than 1000 (1100), and see if that removes the problem for now. All I have found so far, is that sometimes my XP test bed, skips a reading as the read thread (waiting 1000ms) can miss a data read by a few ms (it also happens at 1000ms, just like the real gps chip). Now to be clear, on the phone, there is always a few ms delay between writing and reading, so this *should* not happen there.
Confirmed. Steady gps reception running w. Tomtom (set sleeptime 1100)
Reply With Quote

  #10  
Old 4th November 2009, 12:08 AM
Mach2003's Avatar
Mach2003 Mach2003 is offline
Senior Member
 
Join Date: Sep 2008
Location: Kelowna
Posts: 243
Default

Quote:
Originally Posted by gsmdb View Post
In Tomtom, Garmin and supposed other navigator too it is possible to change the mode from car-driving to walking and the "gps-sensitivity" changes automatically correspondance, should it be necessary to change the delta values back and forth to fine-tune it? It will be a little bit complicated/ none user-friendly!!!
Quote:
Originally Posted by Mandragore View Post
Accuracy, sensitivity and lag compensation all benefit from different delta values, depending on speed, right? So what if the driver could adjust and use adjusted delta values on the fly? The adjustment could be based on:

* the (modded) GPS speed
* user defined minimum and maximum sets of delta values
* or multiple user defined speed ranges and corresponding user defined delta values
The big problem here is that either way, too small delta values result in spin.
If you are a walker, set the delta values low enough, and live with the occasional spin while stopped and driving (I do).

The point is: I don't use speed, heading or LagDistance if your calculated position results in less than ALL three delta values (don't forget about the time one), if I used some min value and forced an update through but you happened to be stopped at a light, you would get jump or spin effect.

Code:
Compare GPS position to LastGpsPosition :: DistanceMoved, Course
Use Time Elaped :: Speed

if( (speed > DSpeed) OR (distance > DDistance) OR (time > DTIME))
 UseCalculatedValues;
else
 UseGPSValues (speed will be zero)
Give me an idea with some examples.

Edit to add, Accuracy, sensitivity and lag compensation all benefit from different delta values
Delta values determine IF we use new values, they do not effect the results at all
__________________
Main: Diamond
Rom: Home Built 6.5.3 28002, Thanks to Da_G
Radio: 1.00.25.05, using Original Rogers rilphone.dll

Spare: Hermes TyTn
Rom: Home Built 6.5.3 28002, Thank You Da_G!

Is your built-in GPS giving you a headache?
GPS Mod Driver - Working Lag Fix, GeoCaching Fix, Multi-Device

If you wish to contribute, click


Last edited by Mach2003; 4th November 2009 at 12:16 AM..
Reply With Quote

Reply

Tags
gps, gps driver, gps lag

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:33 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.