-
Notifications
You must be signed in to change notification settings - Fork 314
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
MapboxNavigationNative v9.0.4 #2319
Conversation
c429a21
to
2b4f373
Compare
The CocoaPods podspec fails to lint because of compiler warnings about MapboxNavigationNative:
The CocoaPods build bot isn’t required to pass; it basically tells us whether we need to pass |
My first impression with this branch in the iOS simulator is that 4× route simulation is noticeably jerky compared to how it used to be. MapboxNavigationNative is probably doing more aggressive filtering that treats these unlikely fast location updates as bogus. |
Could you share the recorded history? We will be able to check all the algorithmic stuff. |
c3082e8
to
c6f208e
Compare
After upgrading from v9.0.3 to v9.0.4, one of the tests is failing because twice the expected number of location updates is coming into the navigation service delegate:
|
@1ec5 could you help understand the problem deeper? The only noticeable change for 9.0.4 was speed calculation while doing the look-ahead (during guided driving). |
c6f208e
to
154f680
Compare
I investigated the problem, it's related to the our route replay, we simulate the passage of a track with speed multiplier 4 which is roughly similar to have ride at speed 432 km/h. Looks like processing of that speed wasn't supported by v6 which led to not updating progress and we didn't get events of arriving at destination. If we decrease the speedMultiplier to 1 with v6 the sdk will generate three more events which is willArrive, didArrive and shouldPreventReroutesWhenArrivingAt, the total correct number of events is 7. |
The Xcode_10.2_iOS_12.2_CP_update build failure is being tracked in #2394. |
binary "https://www.mapbox.com/ios-sdk/MapboxNavigationNative.json" ~> 6.2.1 | ||
github "mapbox/mapbox-directions-swift" ~> 0.31 | ||
binary "https://www.mapbox.com/ios-sdk/MapboxNavigationNative.json" ~> 9.0.3 | ||
github "mapbox/mapbox-directions-swift" == 1.0.0-alpha.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should’ve remained v0.31. Looks like a rebase incorrectly changed it back to v1.0.0-alpha.1. Fixed in c3dda00.
@@ -1,7 +1,7 @@ | |||
binary "https://www.mapbox.com/ios-sdk/MapboxAccounts.json" ~> 2.2 | |||
binary "https://www.mapbox.com/ios-sdk/Mapbox-iOS-SDK.json" ~> 5.6 | |||
binary "https://www.mapbox.com/ios-sdk/MapboxNavigationNative.json" ~> 6.2.1 | |||
github "mapbox/mapbox-directions-swift" ~> 0.31 | |||
binary "https://www.mapbox.com/ios-sdk/MapboxNavigationNative.json" ~> 9.0.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgraded the MapboxNavigationNative dependency from v6.2.1 to v9.0.4. The changes primarily affect location tracking and off-route calculation during turn-by-turn navigation. These are the areas that will need extensive testing before we can merge and release. (Additionally, MapboxNavigationNative’s internal Valhalla dependency, used for offline route calculation, has been upgraded from roughly v3.0.4 to roughly v3.0.9.)
carthage update
to update the copy of MapboxNavigationNative used for development in the mapbox-navigation-ios repositorycd MapboxCoreNavigationTests/CocoaPodsTest/PodInstall/ && pod update
to update the CocoaPods installation testsnull
voiceLocale
: Null voiceLocale does not round-trip mapbox-directions-swift#415Fixes #2125.
/cc @mapbox/navigation-ios @mapbox/navnative @mapbox/driver-app