mapbox-navigation-ios icon indicating copy to clipboard operation
mapbox-navigation-ios copied to clipboard

Car Keeps Bouncing in turn by turn navigation

Open nick70007 opened this issue 3 years ago • 4 comments

My car keeps bouncing out of road lane.. Below is the screenshot for that. I am calling GPS Update location every 5 second for upadting my location. Is it due to calling of an api every 5 seconds?

Screenshot 2021-09-01 at 5 08 22 PM

nick70007 avatar Sep 01 '21 11:09 nick70007

Hello @nick70007. What do you mean by bouncing? Is it shifted position of the UserCourseView or something else? Also what API you're calling every 5 seconds?

MaximAlien avatar Sep 02 '21 16:09 MaximAlien

yes it shifts position and i am calling API every 5 seconds which updates my current location

nick70007 avatar Sep 07 '21 06:09 nick70007

And also the GPS Lags and turn by turn navigation gets stucked and due to that app gets crashed

nick70007 avatar Sep 07 '21 06:09 nick70007

i am calling API every 5 seconds which updates my current location

Can you say more? The navigation SDK automatically listens for location updates from Core Navigation, so there should be no need to call any API yourself to determine the user’s location.

1ec5 avatar Oct 04 '21 05:10 1ec5