[Routing] TurnDirections refactoring + bug fixes #2542

Merged
AntonM030481 merged 15 commits from navigation-refactoring into master 2022-05-11 17:07:23 +00:00
AntonM030481 commented 2022-05-10 15:33:33 +00:00 (Migrated from github.com)
  1. Basic refactoring - just move simple functions from routing/turns_generator to routing/turns_generator_utils.
  2. Test and fixes #2531.
  3. Test and fixes #2536.
  4. Fix for bicycle_turn_test.cpp::RussiaMoscowSevTushinoParkBicycleWayTurnTest
  5. Fix for new bicycle_turn_test.cpp::SpainTenerifeSlightTurnMain_TurnTest (inspired by SpainTenerifeAdejeVilaflor).
  6. A lot of comments are added.

Now:

routing_integration_tests --filter=turn_test.cpp
2  tests failed:
turn_test.cpp::Russia_Moscow_BolshoyKislovskiyPerBolshayaNikitinskayaUl_TurnTest
turn_test.cpp::Netherlands_Barneveld_TurnTest
Some tests FAILED.
1. Basic refactoring - just move simple functions from routing/turns_generator to routing/turns_generator_utils. 2. Test and fixes #2531. 3. Test and fixes #2536. 4. Fix for bicycle_turn_test.cpp::RussiaMoscowSevTushinoParkBicycleWayTurnTest 5. Fix for new bicycle_turn_test.cpp::SpainTenerifeSlightTurnMain_TurnTest (inspired by SpainTenerifeAdejeVilaflor). 6. A lot of comments are added. Now: ``` routing_integration_tests --filter=turn_test.cpp 2 tests failed: turn_test.cpp::Russia_Moscow_BolshoyKislovskiyPerBolshayaNikitinskayaUl_TurnTest turn_test.cpp::Netherlands_Barneveld_TurnTest Some tests FAILED. ```
biodranik (Migrated from github.com) approved these changes 2022-05-10 20:45:35 +00:00
biodranik commented 2022-05-10 20:46:12 +00:00 (Migrated from github.com)

Please fix failing checks. @vng may help with XCode diff.

Please fix failing checks. @vng may help with XCode diff.
AntonM030481 commented 2022-05-11 08:42:44 +00:00 (Migrated from github.com)

@vng can you assist me with Xcode changes?
I don't have enough experience with it.

2 files added:

  • routing/turns_generator_utils.hpp
  • routing/turns_generator_utils.cpp
@vng can you assist me with Xcode changes? I don't have enough experience with it. 2 files added: - routing/turns_generator_utils.hpp - routing/turns_generator_utils.cpp
vng commented 2022-05-11 12:55:44 +00:00 (Migrated from github.com)

@AntonM030481 Added commit with xcodeproj.

@AntonM030481 Added commit with xcodeproj.
vng commented 2022-05-11 12:57:24 +00:00 (Migrated from github.com)

Please, setup your editor to remove trailing whitespaces.

Please, setup your editor to remove trailing whitespaces.
vng (Migrated from github.com) approved these changes 2022-05-11 14:09:09 +00:00
vng commented 2022-05-11 15:21:48 +00:00 (Migrated from github.com)

Is it ready for merge or still in progress?

Is it ready for merge or still in progress?
AntonM030481 commented 2022-05-11 16:39:03 +00:00 (Migrated from github.com)

Ready.

Ready.
This repo is archived. You cannot comment on pull requests.
No reviewers
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#2542
No description provided.