You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a problem where we only get the second to last location at the end of the route. So when the car is parked we don't get the location where the car is parked, instead the last location we get is when the car was still driving.
Usually this is a few hundred meters away and still at speed. We have some logic bound to when a car is stopped, and this never triggers now.
[Optional] Plugin Code and/or Config
Config comes from a config page in the App, and we tried a few different configurations. This is one of the configurations where we had this issue
I think we found the core problem we have. It seems the dynamic elasticity is calculated with the last valid location. But if at this position the car was still at a relatively high speed, the elasticity calculates for example that the next position should be 400 meter further. But if the car then stops within these 400 meters, no location is recorded.
Maybe you could look into re-calculating the elasticity when the speed changes?
Required Reading
Plugin Version
6.1.0
Mobile operating-system(s)
What do you require assistance about?
We have a problem where we only get the second to last location at the end of the route. So when the car is parked we don't get the location where the car is parked, instead the last location we get is when the car was still driving.
Usually this is a few hundred meters away and still at speed. We have some logic bound to when a car is stopped, and this never triggers now.
[Optional] Plugin Code and/or Config
Config comes from a config page in the App, and we tried a few different configurations. This is one of the configurations where we had this issue
[Optional] Relevant log output
The text was updated successfully, but these errors were encountered: