mapbox / mapbox/mapbox-navigation-android
In replay puck moves to the destination
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
**Android API:**
**Mapbox Navigation SDK version:** 2.4.0-beta.3
**NN:** 93.0.0
If you stay at one place while navigating, puck will move to the destination point while replay.
### Steps to trigger behavior
1. Fetch a route and start navigating, don't move for 30 seconds, stop the session.
2. Play history record ^^.
### Expected behavior
1. History record should repeat a real session.
### Actual behavior
1. Puck stays for 30 seconds at one place (as expected), but after that it starts moving to the destination point until arrival.
`ReplayProgressObserver` is not used, we don't simulate route progress from the route
the issue is reproducible with `examples`
[7310e80c-9ba5-4445-96ab-4722b8680495.pbf.gz](https://github.com/mapbox/mapbox-navigation-android/files/8390188/7310e80c-9ba5-4445-96ab-4722b8680495.pbf.gz)
https://user-images.githubusercontent.com/14282440/161078172-1c32095c-d3aa-499e-b39f-864ed911a99f.mp4
cc @kmadsen @Guardiola31337 @mskurydin @SiarheiFedartsou
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ReplayProgressObserver and the examples, then reproduce the issue using the attached PBF recording and the listed replay steps. Done means replaying a session with no movement keeps the puck stationary for the full recorded interval instead of moving it to the destination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100