mapbox / mapbox/mapbox-navigation-ios
Route simulation turns the wrong way when sped up
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 918
- Forks
- 326
- Avg merge
- 1h 16m
- Merged PRs (30d)
- 3
Description
A simulated route between 39.20037°N, 84.38027°W and 39.1997269°N, 84.3782329°W at 2× speed should make a sharp left turn from southbound Kenwood Road to westbound Montgomery Road. But instead of spinning counterclockwise, the simulation spins clockwise the long way around. Here it is having spun some 45° clockwise:

This issue doesn’t reproduce at 1× speed, and it doesn’t affect slighter turns.
/cc @frederoni @JThramer
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 by reproducing the route simulation between the coordinates in the issue at 2× speed, then compare its turn direction with the 1× behavior and with slighter turns. Done means the sharp southbound-to-westbound turn rotates counterclockwise at 2× speed without regressing the unaffected cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100