transistorsoft / flutter_background_geolocation

Sophisticated, battery-conscious background-geolocation & geofencing with motion-detection
https://www.transistorsoft.com/shop/products/flutter-background-geolocation
Other
650 stars 241 forks source link

question: how to get accurate information on whether the device has transitioned from moving to stop #1363

Closed svanhoof closed 1 day ago

svanhoof commented 1 month ago

Your Environment

! Doctor found issues in 1 category.

Expected Behavior

For the application we are building we are mainly interested in the stop locations (and we want to know the device is actually stopped). We don't care too much about points recorded while the phone is moving. Ideally a stop is defined as having no motion (accelerometer driven) for a configurable seconds.

Actual Behavior

With the configuration above we do get all 'relevant' location points. When driving we do get correctly the last location point of the trip, however when cannot always reliably figure out that this is a stop. Our current logic is to look at a location of speed/activity/moving flag. However on this last location point:

Steps to Reproduce

At this moment just a behavioral question

Context

Debug logs

Logs ``` PASTE_YOUR_LOGS_HERE ```
christocracy commented 1 month ago

See api docs Config.stopTimeout and event .onMotionChange

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 day ago

This issue was closed because it has been inactive for 14 days since being marked as stale.