Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Screen keep moving while on navigation in Carplay #4616

Open
santoso8118 opened this issue Mar 26, 2024 · 5 comments
Open

[Bug]: Screen keep moving while on navigation in Carplay #4616

santoso8118 opened this issue Mar 26, 2024 · 5 comments
Labels
bug Something isn’t working

Comments

@santoso8118
Copy link

Mapbox Navigation SDK version

2.17.0

Steps to reproduce

While in navigation at crossroads the screen keep moving to other place then focus on current location again multiple times

Expected behavior

Camera should focus and follow user current location while in navigation

Actual behavior

Camera keep moving to other location then move back to user current location multiple times

Uploading WhatsApp Video 2024-03-07 at 09.27.19.mp4…

Is this a one-time issue or a repeatable issue?

repeatable

@santoso8118 santoso8118 added the bug Something isn’t working label Mar 26, 2024
@santoso8118
Copy link
Author

@kried
Copy link
Contributor

kried commented Apr 2, 2024

Hi @santoso8118

Could you please share with us the sample project to reproduce the issue?
Do you use a real device or a simulator for testing? Do you enable route navigation emulation or use any other coordinate emulation mechanism, e.g. GPX file?

@santoso8118
Copy link
Author

@kried Kre
Sorry we don't have sample project to reproduce the issue. It is reported issue from our user. They are using our app and driving on road with real device. We don't simulate it for testing or using GPX file to simulate user's location.

@kried
Copy link
Contributor

kried commented Apr 4, 2024

Hi

The possible situation when the camera keeps randomly moving is when the previous navigation session was not finished and it can still pass the camera updates.
Please, make sure that you call endNavigation(feedback:), stop(), or that you deinitialize the previous instances of NavigationService and NavigationViewController.

@santoso8118
Copy link
Author

@kried
Thank you for your feedback !
I checked our implementation already call stop() when navigation end but we never call endNavigation(feedback:)

From the document I see that the only way to end navigation session is we need to call endNavigation(feedback:).

I will update code to call endNavigation(feedback:) when user end navigation and see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working
Projects
None yet
Development

No branches or pull requests

2 participants