mendhak / gpslogger

:satellite: Lightweight GPS Logging Application For Android.
https://gpslogger.app
Other
1.98k stars 607 forks source link

Change frequency of custom URL submissions when Keep GPS on between fixes is on #1164

Open mrcshbs opened 1 month ago

mrcshbs commented 1 month ago

I have a test device set to "Keep GPS on between fixes" and it works great, but it sends to the custom URL almost every second or so (sometimes a couple of times a second).

, I have the app to set to logging interval to 10 seconds but and I want to keep the GPS on all time... but If click on the "Keep GPS on between fixes" it ignores the 10 second interval and sends like every second.

Any assistance would be appreciated it. Just to be clear: I want to keep the GPS on all the time, but only send to the custom URL every 10 seconds

mendhak commented 1 month ago

I just gave it a try and it was behaving itself. Could you check if you have passive logging enabled? That could contribute to the 'in between' points since it ignores time intervals.

mrcshbs commented 1 month ago

Thank you for the tip… I believe I do have that checked …. I will make the tweak tonight and see.

I appreciate it very much

Marcos

On Sep 18, 2024, at 3:40 PM, mendhak @.***> wrote:



I just gave it a try and it was behaving itself. Could you check if you have passive logging enabled? That could contribute to the 'in between' points since it ignores time intervals.

— Reply to this email directly, view it on GitHubhttps://github.com/mendhak/gpslogger/issues/1164#issuecomment-2359364322, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFKQYZLEMYWEBHBWUWFW7TDZXHQKVAVCNFSM6AAAAABON4IR2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZGM3DIMZSGI. You are receiving this because you authored the thread.Message ID: @.***>

mrcshbs commented 1 month ago

I have the log passive locations turned on... is that what you meant?


From: mendhak @.> Sent: Wednesday, September 18, 2024 3:40 PM To: mendhak/gpslogger @.> Cc: mrcshbs @.>; Author @.> Subject: Re: [mendhak/gpslogger] Change frequency of custom URL submissions when Keep GPS on between fixes is on (Issue #1164)

I just gave it a try and it was behaving itself. Could you check if you have passive logging enabled? That could contribute to the 'in between' points since it ignores time intervals.

Reply to this email directly, view it on GitHubhttps://github.com/mendhak/gpslogger/issues/1164#issuecomment-2359364322, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFKQYZLEMYWEBHBWUWFW7TDZXHQKVAVCNFSM6AAAAABON4IR2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZGM3DIMZSGI.

You are receiving this because you authored the thread.

mrcshbs commented 1 month ago

I think that did the trick... it looks like it's only trigging the custom URL on the number of seconds set in the interval now.

I will keep you posted, but thank you for suggesting that.


From: mendhak @.> Sent: Wednesday, September 18, 2024 3:40 PM To: mendhak/gpslogger @.> Cc: mrcshbs @.>; Author @.> Subject: Re: [mendhak/gpslogger] Change frequency of custom URL submissions when Keep GPS on between fixes is on (Issue #1164)

I just gave it a try and it was behaving itself. Could you check if you have passive logging enabled? That could contribute to the 'in between' points since it ignores time intervals.

— Reply to this email directly, view it on GitHubhttps://github.com/mendhak/gpslogger/issues/1164#issuecomment-2359364322, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFKQYZLEMYWEBHBWUWFW7TDZXHQKVAVCNFSM6AAAAABON4IR2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZGM3DIMZSGI. You are receiving this because you authored the thread.Message ID: @.***>

mrcshbs commented 1 month ago

Sir, do you have an email address so I can share some screenshots?

mrcshbs commented 1 month ago

Here are my issues: I am using a samsung galaxy A22 phone with the app and I have tried several settings and I can't find the "perfect" settings.

I want to use the phone to send data via custom URL so I can later build a breadcrums, but these are the issues:

The trails are not really smooth (I have the GPS logging interval to 5 seconds) and I have unchecked the log passive locations.

But the main issue is when I stop the GPS puts a lot of points around me (when the GPS is not that accurate). I have the GPS accuracy set to 5 meters.

Please see this image... I stopped at the different locations for a minute or two...

What I would like to is a continining smooth flow and when I stop the GPS stops logging. Screenshot 2024-09-27 201430

mrcshbs commented 1 month ago

Any advice?

mendhak commented 1 month ago

Right I see, there should be an option to help there too, look for an option called "Choose best accuracy in duration".

What that will do is instead of trying to find a fix in 60s (default) it will keep 'collecting' for 60 s and choose the most accurate point. That is, it won't pick the first point it finds but the best point in that duration. So if you select that option, you probably want to lower the 'Duration to match accuracy' value to something like 10-15s.

But also note, if you're inside a building or there's lots of overhead stuff blocking the sky then you may still see inaccurate points or jumps.

mendhak commented 1 month ago

You can also play with the 'Distance filter' option, what happens here is if the new point isn't X meters away from the last, it gets discarded.

mrcshbs commented 1 month ago

thank you so much for the help.

I've been looking for this option "Choose best accuracy in duration" but I couldn't find it.

I changed the duration to match accuracy to 15 seconds to see if improves it... The smoothness of the lines is something I would like to fix later, but if I can figure out setting to stop sending points when the phone is stopped would be great.

I have the distance meter set to 5 meters now and accuracy to 3 meters... if I am inside the building, I am ok with not getting points.


From: mendhak @.> Sent: Saturday, September 28, 2024 5:32 AM To: mendhak/gpslogger @.> Cc: mrcshbs @.>; Author @.> Subject: Re: [mendhak/gpslogger] Change frequency of custom URL submissions when Keep GPS on between fixes is on (Issue #1164)

Right I see, there should be an option to help there too, look for an option called "Choose best accuracy in duration".

What that will do is instead of trying to find a fix in 60s (default) it will keep 'collecting' for 60 s and choose the most accurate point. That is, it won't pick the first point it finds but the best point in that duration. So if you select that option, you probably want to lower the 'Duration to match accuracy' value to something like 10-15s.

But also note, if you're inside a building or there's lots of overhead stuff blocking the sky then you may still see inaccurate points or jumps.

— Reply to this email directly, view it on GitHubhttps://github.com/mendhak/gpslogger/issues/1164#issuecomment-2380596434, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFKQYZP3NYNGJZHZELNBWTTZY2ASBAVCNFSM6AAAAABON4IR2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBQGU4TMNBTGQ. You are receiving this because you authored the thread.