|
| 1 | +# Feature: Maintain safe distance from preceding motorcycle |
| 2 | + |
| 3 | +Ensures that ego is able to keep a safe distance from a preceding motorcycle under different scenarios. |
| 4 | +This is required to provide ego with enough time to react to sudden changes in movement of the preceding motorcycle, or other traffic participants ahead. |
| 5 | + |
| 6 | +## Scenario Outline: Maintain safe distance from preceding motorcycle that drives slower than ego |
| 7 | + |
| 8 | +Confirm that ego is able to adjust its speed such as to maintain a safe distance from a preceding motorcycle that drives at a constant speed slower than itself. |
| 9 | + |
| 10 | +* Given Ego is driving at <vxi_ego> |
| 11 | +* And Motorbike0 is positioned ahead of ego, in the same driving lane |
| 12 | +* And Motorbike0 is driving at <vxi_motorbike0>, smaller than <vxi_ego> |
| 13 | + |
| 14 | +* When Ego approaches Motorbike0 up to a safe distance |
| 15 | +* Then Ego starts decelerating with rate no faster than <axmin_ego> |
| 16 | +* And Ego matches the speed of Motorbike0, <vxi_motorbike0> |
| 17 | +* And Ego drives continuously at all times |
| 18 | +* And Ego drives safely with no collisions at all times |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | +### Examples: |
| 23 | + |
| 24 | + | vxi_ego | vxi_motorbike0 | axmin_ego | |
| 25 | + | ------- | -------------- | ---------- | |
| 26 | + | 20 km/h | 15 km/h | -1.5 m/s^2 | |
| 27 | + | 30 km/h | 20 km/h | -1.5 m/s^2 | |
| 28 | + | 40 km/h | 25 km/h | -1.5 m/s^2 | |
| 29 | + |
| 30 | + |
| 31 | +## Scenario Outline: Maintain safe distance from preceding motorcycle that is decelerating partially |
| 32 | + |
| 33 | +Confirm that ego is able to continuously adjust its speed such as to maintain a safe distance from a preceding motorcycle that is decelerating. |
| 34 | + |
| 35 | +* Given Ego is driving at <vxi_ego> |
| 36 | +* And Motorbike0 is positioned ahead of ego, in the same driving lane |
| 37 | +* And Motorbike0 is driving at <vxi_motorbike0>, smaller than <vxi_ego> |
| 38 | + |
| 39 | +* When Ego approaches Motorbike0 up to a safe distance |
| 40 | +* Then Ego decelerates to match the speed of Motorbike0, <vxi_motorbike0> |
| 41 | + |
| 42 | +* When Motorbike0 further decelerates to <vx_motorbike0> at a rate of <ax_motorbike0> |
| 43 | +* Then Ego further decelerates to match the speed of Motorbike0, <vx_motorbike0> |
| 44 | +* And Ego drives continuously at all times |
| 45 | +* And Ego keeps its deceleration rate slower than <axmin_ego> at all times |
| 46 | +* And Ego drives safely with no collisions at all times |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | +### Examples: |
| 51 | + |
| 52 | + | vxi_ego | vxi_motorbike0 | axmin_ego | vx_motorbike0 | ax_motorbike0 | |
| 53 | + | ------- | -------------- | ---------- | ------------- | ------------- | |
| 54 | + | 20 km/h | 15 km/h | -1.5 m/s^2 | 10 km/h | -1.0 m/s^2 | |
| 55 | + | 30 km/h | 20 km/h | -1.5 m/s^2 | 12 km/h | -1.0 m/s^2 | |
| 56 | + | 40 km/h | 25 km/h | -1.5 m/s^2 | 15 km/h | -1.0 m/s^2 | |
| 57 | + |
| 58 | + |
| 59 | +## Scenario Outline: Maintain safe distance from preceding motorcycle that is decelerating completely |
| 60 | + |
| 61 | +Confirm that ego is able to continuously adjust its speed such as to maintain a safe distance from a preceding motorcycle that decelerates to a standstill. |
| 62 | + |
| 63 | +* Given Ego is driving at <vxi_ego> |
| 64 | +* And Motorbike0 is positioned ahead of ego, in the same driving lane |
| 65 | +* And Motorbike0 is driving at <vxi_motorbike0>, smaller than <vxi_ego> |
| 66 | + |
| 67 | +* When Ego approaches Motorbike0 up to a safe distance |
| 68 | +* Then Ego decelerates to match the speed of Motorbike0, <vxi_motorbike0> |
| 69 | + |
| 70 | +* When Motorbike0 further decelerates to a standstill at a rate of <ax_motorbike0> |
| 71 | +* Then Ego further decelerates to a standstill |
| 72 | +* And Ego keeps its deceleration rate slower than <axmin_ego> at all times |
| 73 | +* And Ego drives safely with no collisions at all times |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | +### Examples: |
| 78 | + |
| 79 | + | vxi_ego | vxi_motorbike0 | axmin_ego | ax_motorbike0 | |
| 80 | + | ------- | -------------- | ---------- | ------------- | |
| 81 | + | 20 km/h | 15 km/h | -1.5 m/s^2 | -1.0 m/s^2 | |
| 82 | + | 30 km/h | 20 km/h | -1.5 m/s^2 | -1.0 m/s^2 | |
| 83 | + | 40 km/h | 25 km/h | -1.5 m/s^2 | -1.0 m/s^2 | |
| 84 | + |
| 85 | + |
| 86 | +## Scenario Outline: Stop safely when detecting a preceding standstill motorcycle |
| 87 | + |
| 88 | +Confirm that ego is able to stop safely when a stopped motorcycle is detected ahead of ego. |
| 89 | + |
| 90 | +* Given Ego is driving at <vxi_ego> |
| 91 | +* And Motorbike0 is <dxi_ego_motorbike0> ahead of ego, in the same driving lane |
| 92 | +* And Motorbike0 is in standstill |
| 93 | + |
| 94 | +* When Ego approaches Motorbike0 |
| 95 | +* Then Ego starts decelerating with rate no faster than <axmin_ego> |
| 96 | +* And Ego reaches standstill |
| 97 | +* And Ego drives safely with no collisions at all times |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | +### Examples: |
| 102 | + |
| 103 | + | vxi_ego | dxi_ego_motorbike0 | axmin_ego | |
| 104 | + | -------- | ------------------ | ---------- | |
| 105 | + | 90 km/h | 150 m | -1.5 m/s^2 | |
| 106 | + | 100 km/h | 150 m | -1.5 m/s^2 | |
| 107 | + | 110 km/h | 150 m | -1.5 m/s^2 | |
0 commit comments