Take stop signs into account during routing

This commit is contained in:
Siarhei Fedartsou 2022-10-31 22:00:24 +01:00
parent ee008e75e5
commit 750826215f
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ Feature: Car - Handle give way signs
| 2 | 1 | 11.1s | 11.1 | no turn with no give way | | 2 | 1 | 11.1s | 11.1 | no turn with no give way |
| 3 | 4 | 11.1s | 11.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 | | 4 | 3 | 11.1s | 11.1 | no turn with give way |
| 5 | 6 | 13.1s | 13.1 | no turn with give way | | 5 | 6 | 12.6s | 12.6 | no turn with give way |
| 6 | 5 | 11.1s | 11.1 | no turn with no 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 | | 7 | 8 | 11.1s | 11.1 | no turn with no give way |
| 8 | 7 | 13.1s | 13.1 | no turn with give way | | 8 | 7 | 12.6s | 12.6 | no turn with give way |

View File

@ -31,7 +31,7 @@ function setup()
left_hand_driving = false, left_hand_driving = false,
traffic_light_penalty = 2, traffic_light_penalty = 2,
stop_sign_penalty = 2, stop_sign_penalty = 2,
give_way_sign_penalty = 2 give_way_sign_penalty = 1.5
}, },
default_mode = mode.driving, default_mode = mode.driving,