mapbox / mapbox/mapbox-navigation-android
Identifying exit numbers in roundabouts
オープン
まだ誰も着手していません。
Android Auto
improvement
jira-sync-complete
- 主要言語
- Kotlin
- スター
- 651
- フォーク
- 321
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Directions API のラウンドアバウト マヌーバー データと、issue にリンクされている PrimaryManeuver.kt の定義から始めます。マヌーバーのフィールドが navigation-ui Maneuver API に到達するまでの流れを追跡し、Android Auto Maneuver.setRoundaboutExitNumber の定義を使ってラウンドアバウトの出口番号を公開します。要求された出口番号がこのルートで利用可能になれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, kotlin
- 領域
- mobile
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100