Oncoming Vehicle family base
Location: $FTX_PACKAGES/base_scenarios/scenarios/oncoming_vehicles/oncoming_vehicles_family_base
The oncoming_vehicle_family_base consists of common input variables, coverage, and KPIs common across all oncoming vehicle scenarios.
Oncoming vehicle family ego_warm_up and post scenarios
The oncoming vehicle family scenarios use these ego_warm_up and post scenarios.
oncoming_vehicle_base_ego_warm_up
Ego: The Ego starts driving and attempts to maintain its lane and speed for the duration of gen_duration_at_ego_warm_up.
oncoming_vehicle: Simultaneously drives forward in its lane, approaching the Ego from the opposite direction.
oncoming_vehicle_base_post
Ego: The Ego continues driving, maintaining its lane and speed for the duration of gen_duration_at_post.
oncoming_vehicle: The oncoming_vehicle continues driving, maintaining its lane and speed for the duration of gen_duration_at_post.
Parameters
| Parameter | Description | Range |
|---|---|---|
gen_oncoming_vehicle_speed_at_start |
Input speed of the oncoming_vehicle at essence start | [0..150]kph |
gen_ego_speed_at_start |
Input speed of the Ego at the start of the scenario | [0..150]kph |
Events
phase_post_start_event: Event for start of post phase.phase_post_end_event: Event for end of post phase.ego_warm_up_start_event: Event for start of Ego warm up phase.ego_warm_up_end_event: Event for end of Ego warm up phase.
Metrics
Metrics collected during test execution are given below.
Coverage
The coverage metrics are given below.
Coverage items
The multi-dimensional situations captured during the test execution are as follows:
| Item | Description | Range | Unit/Type |
|---|---|---|---|
lateral_distance_to_oncoming_vehicle_at_second_apart |
Lateral center-to-center distance between the Ego and the oncoming_vehicle, one second after passing | [2..5), every: 1.0 | m |
ego_speed_at_second_apart |
Speed of the Ego one second after passing the oncoming_vehicle | [0..150), every: 10.0 | kph |
oncoming_vehicle_speed_at_second_apart |
Speed of the oncoming_vehicle one second after passing the Ego | [0..150), every: 10.0 | kph |
ego_acceleration_at_second_apart |
Acceleration of the Ego one second after passing the oncoming_vehicle | [-4..4) | mpsps |
lateral_distance_to_oncoming_vehicle_at_passing_by |
Lateral center-to-center distance between the Ego and the oncoming_vehicle | [0..2), every: 0.2 | m |
ego_speed_at_passing_by |
Speed of the Ego as the oncoming_vehicle passes | [0..150), every: 10.0 | kph |
oncoming_vehicle_speed_at_passing_by |
Speed of the oncoming_vehicle as it passes the Ego | [0..150), every: 10.0 | kph |
ego_acceleration_at_passing_by |
Acceleration of the Ego while passing | [-4..4), every: 1.0 | mpsps |
curve_at_passing_by |
Curve during the passing by maneuver | other, straightish, soft_left, hard_left, soft_right, hard_right | curvature |
gen_oncoming_vehicle_speed_at_start |
Input speed of the oncoming_vehicle at essence start | [0..150), every: 10.0 | kph |
oncoming_vehicle_speed_at_start |
Speed of the oncoming_vehicle at essence start | [0..150), every: 10.0 | kph |
[Click] The coverage items inherited from the sut.generic_base scenario are as follows:
| Item | Description | Range | Unit/Type |
|---|---|---|---|
gen_ego_speed_at_start |
Input speed of the Ego at the start of the scenario | [0..150), every: 10.0 | kph |
ego_speed_at_start |
Actual speed of the Ego at the start of the scenario | [0..150), every: 10.0 | kph |
Cross coverage items
The test execution data for the combination of multiple coverage items is as follows:
| Item | Description | Referred coverage items |
|---|---|---|
| -- | -- | -- |
[Click] The cross coverage items inherited from the sut.generic_base scenario are as follows:
| Item | Description | Referred coverage items |
|---|---|---|
| -- | -- | -- |
KPI
The key performance indicators are given below.
Record items
The performance metrics and the data items captured during the test execution are as follows:
| Item | Description | Range | Unit/Type |
|---|---|---|---|
oncoming_vehicle_max_long_acceleration |
Maximum longitudinal acceleration of the oncoming_vehicle | [0..20), every: 2.0 | mpsps |
oncoming_vehicle_min_long_acceleration |
Minimum longitudinal acceleration of the oncoming_vehicle | [0..20), every: 2.0 | mpsps |
max_lat_lane_distance |
Maximum lateral distance between the Ego and the oncoming_vehicle | [0..20), every: 2.0 | m |
[Click] The KPIs inherited from the sut.generic_base scenario are as follows:
| Item | Description | Range | Unit/Type |
|---|---|---|---|
| -- | -- | -- | -- |
Checks
The captured problematic behavior or conditions are as follows:
| Default Severity | Description | Issue kind | Threshold |
|---|---|---|---|