mapbox / mapbox/mapbox-navigation-android
Identifying exit numbers in roundabouts
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Kotlin
- Star
- 651
- Fork
- 321
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Mapbox Navigation SDK version: 2.0.0-rc.2
Directions API provides an exit number
"maneuver": {
"type": "roundabout",
"exit": 3,
"instruction": "Enter the roundabout and take the 3rd exit onto Avenue de Brogny/D 1201.",
"modifier": "slight right",
"bearing_after": 123,
"bearing_before": 94,
"location": [
6.125695,
45.90563
]
},
But I can't find this exit number from the navigation-ui Maneuver api. It seems like it should be near the "degrees"
Here's the definition we're looking to satisfy for Android Auto from their Manevuer.setRoundaboutExitNumber
For example, if the driver is joining a counter-clockwise roundabout with 4 exits,
then the exit to the right would be exit #1, the one straight ahead would be exit #2,
the one to the left would be exit #3 and the one used by the driver to join the
roundabout would be exit #4.
cc: @cafesilencio @abhishek1508 @Guardiola31337
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với dữ liệu thao tác tại vòng xuyến từ Directions API và định nghĩa PrimaryManeuver.kt được liên kết trong issue. Theo dõi cách các trường của thao tác đến navigation-ui Maneuver API, sau đó cung cấp số lối ra của vòng xuyến bằng định nghĩa Android Auto Maneuver.setRoundaboutExitNumber; hoàn thành khi số lối ra được yêu cầu khả dụng cho tuyến đường này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, kotlin
- Lĩnh vực
- mobile
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100