Take stop signs into account during routing
This commit is contained in:
@@ -31,12 +31,13 @@ Feature: Car - Handle give way signs
|
||||
| e | give_way |
|
||||
| l | give_way |
|
||||
|
||||
# TODO: give way signs with no direction has no any impact on routing at the moment
|
||||
When I route I should get
|
||||
| from | to | time | # |
|
||||
| 1 | 2 | 11.1s | no turn with no give way |
|
||||
| 3 | 4 | 13.1s | no turn with give way |
|
||||
| 3 | 4 | 11.1s | no turn with give way |
|
||||
| g | j | 18.7s | turn with no give way |
|
||||
| k | n | 20.7s | turn with give way |
|
||||
| k | n | 18.7s | turn with give way |
|
||||
|
||||
|
||||
Scenario: Car - Give way direction
|
||||
@@ -64,13 +65,12 @@ Feature: Car - Handle give way signs
|
||||
| e | give_way | |
|
||||
| h | give_way | forward |
|
||||
| k | give_way | backward |
|
||||
|
||||
When I route I should get
|
||||
| from | to | time | weight | # |
|
||||
| 1 | 2 | 11.1s | 11.1 | no turn with no give way |
|
||||
| 2 | 1 | 11.1s | 11.1 | no turn with no give way |
|
||||
| 3 | 4 | 13.1s | 13.1 | no turn with give way |
|
||||
| 4 | 3 | 13.1s | 13.1 | no turn with give way |
|
||||
| 3 | 4 | 11.1s | 11.1 | no turn with give way |
|
||||
| 4 | 3 | 11.1s | 11.1 | no turn with give way |
|
||||
| 5 | 6 | 13.1s | 13.1 | no turn with give way |
|
||||
| 6 | 5 | 11.1s | 11.1 | no turn with no give way |
|
||||
| 7 | 8 | 11.1s | 11.1 | no turn with no give way |
|
||||
|
||||
@@ -31,12 +31,13 @@ Feature: Car - Handle stop signs
|
||||
| e | stop |
|
||||
| l | stop |
|
||||
|
||||
# TODO: stop signs with no direction has no any impact on routing at the moment
|
||||
When I route I should get
|
||||
| from | to | time | # |
|
||||
| 1 | 2 | 11.1s | no turn with no stop sign |
|
||||
| 3 | 4 | 13.1s | no turn with stop sign |
|
||||
| 3 | 4 | 11.1s | no turn with stop sign |
|
||||
| g | j | 18.7s | turn with no stop sign |
|
||||
| k | n | 20.7s | turn with stop sign |
|
||||
| k | n | 18.7s | turn with stop sign |
|
||||
|
||||
Scenario: Car - Stop sign direction
|
||||
Given the node map
|
||||
@@ -68,8 +69,8 @@ Feature: Car - Handle stop signs
|
||||
| from | to | time | weight | # |
|
||||
| 1 | 2 | 11.1s | 11.1 | no turn with no stop sign |
|
||||
| 2 | 1 | 11.1s | 11.1 | no turn with no stop sign |
|
||||
| 3 | 4 | 13.1s | 13.1 | no turn with stop sign |
|
||||
| 4 | 3 | 13.1s | 13.1 | no turn with stop sign |
|
||||
| 3 | 4 | 11.1s | 11.1 | no turn with stop sign |
|
||||
| 4 | 3 | 11.1s | 11.1 | no turn with stop sign |
|
||||
| 5 | 6 | 13.1s | 13.1 | no turn with stop sign |
|
||||
| 6 | 5 | 11.1s | 11.1 | no turn with no stop sign |
|
||||
| 7 | 8 | 11.1s | 11.1 | no turn with no stop sign |
|
||||
|
||||
Reference in New Issue
Block a user