Traffic family base
Location: $FTX_PACKAGES/base_scenarios/scenarios/traffic/traffic_family_base/
The traffic_family_base consists of common input variables, coverage, and KPIs common across all traffic scenarios.
Traffic family ego_warm_up and post scenarios
The Traffic family scenarios use these ego_warm_up and post scenarios.
ego_drive
traffic_family_base_ego_warm_up
Ego: The Ego starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
traffic_family_base_post
Ego: The Ego continues driving, maintaining its lane for the duration of gen_duration_at_post.
ego_approach_congestion
ego_approach_congestion_ego_warm_up
Ego: The Ego starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
vehicle_1: vehicle_1 starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
vehicle_2: vehicle_2 and vehicle_3 start driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
vehicle_3: vehicle_3 start driving and and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
ego_approach_congestion_post
Ego: The Ego continues driving, maintaining its lane for the duration of gen_duration_at_post.
vehicle_1: vehicle_1 continues driving, maintaining its lane for the duration of gen_duration_at_post.
vehicle_2: vehicle_2 continues driving, maintaining its lane for the duration of gen_duration_at_post.
vehicle_3: vehicle_3 continues driving, maintaining its lane for the duration of gen_duration_at_post.
high_traffic_on_multiple_lanes_except_one
high_traffic_on_multiple_lanes_except_one_ego_warm_up
Ego: The Ego starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
changing_lane_vehicle_group: The changing_lane_vehicle_group starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
staying_in_lane_vehicle_group: The staying_in_lane_vehicle_group starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
fast_vehicles_group: The fast_vehicles_group starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
high_traffic_on_multiple_lanes_except_one_post
Ego: The Ego continues driving, maintaining its lane for the duration of gen_duration_at_post.
changing_lane_vehicle_group: The changing_lane_vehicle_group continues driving, maintaining its lane for the duration of gen_duration_at_post.
staying_in_lane_vehicle_group: The staying_in_lane_vehicle_group continues driving, maintaining its lane for the duration of gen_duration_at_post.
fast_vehicles_group: The fast_vehicles_group continues driving, maintaining its lane for the duration of gen_duration_at_post.
high_traffic_stop_and_go
high_traffic_stop_and_go_ego_warm_up
Ego: The Ego starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
keep_lane_lead_vehicle: The keep_lane_lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
keep_lane_traffic_group: The keep_lane_traffic_group starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
changing_lane_ahead_lead_vehicle: The changing_lane_ahead_lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
changing_lane_vehicle_ahead: The changing_lane_vehicle_ahead starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
changing_lane_side_lead_vehicle: The changing_lane_side_lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
changing_lane_vehicle_side: The changing_lane_vehicle_side starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
changing_lane_behind_lead_vehicle: The changing_lane_behind_lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
changing_lane_vehicle_behind: The changing_lane_vehicle_behind starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
jam_vehicle_1: The jam_vehicle_1 starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
jam_vehicle_2: The jam_vehicle_2 starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
jam_vehicle_3: The jam_vehicle_3 starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
high_traffic_stop_and_go_post
Ego: The Ego continues driving, maintaining its lane for the duration of gen_duration_at_post.
keep_lane_lead_vehicle: The keep_lane_lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post.
keep_lane_traffic_group: The keep_lane_traffic_group continues driving, maintaining its lane for the duration of gen_duration_at_post.
changing_lane_ahead_lead_vehicle: The changing_lane_ahead_lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post.
changing_lane_vehicle_ahead: The changing_lane_vehicle_ahead continues driving, maintaining its lane for the duration of gen_duration_at_post.
changing_lane_side_lead_vehicle: The changing_lane_side_lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post.
changing_lane_vehicle_side: The changing_lane_vehicle_side continues driving, maintaining its lane for the duration of gen_duration_at_post.
changing_lane_behind_lead_vehicle: The changing_lane_behind_lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post.
changing_lane_vehicle_behind: The changing_lane_vehicle_behind continues driving, maintaining its lane for the duration of gen_duration_at_post.
jam_vehicle_1: The jam_vehicle_1 continues driving, maintaining its lane for the duration of gen_duration_at_post.
jam_vehicle_2: The jam_vehicle_2 continues driving, maintaining its lane for the duration of gen_duration_at_post.
jam_vehicle_3: The jam_vehicle_3 continues driving, maintaining its lane for the duration of gen_duration_at_post.
high_traffic_with_multiple_lane_changes
high_traffic_with_multiple_lane_changes_ego_warm_up
Ego: The Ego starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
changing_lane_vehicle_group_lead_vehicle: The changing_lane_vehicle_group_lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
changing_lane_vehicle_group: The changing_lane_vehicle_group starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
staying_in_lane_vehicle_group_lead_vehicle: The staying_in_lane_vehicle_group_lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
changing_lane_vehicle_group: The changing_lane_vehicle_group starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
high_traffic_with_multiple_lane_changes_post
Ego: The Ego continues driving, maintaining its lane for the duration of gen_duration_at_post.
changing_lane_vehicle_group_lead_vehicle: The changing_lane_vehicle_group_lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post.
changing_lane_vehicle_group: The changing_lane_vehicle_group continues driving, maintaining its lane for the duration of gen_duration_at_post.
staying_in_lane_vehicle_group_lead_vehicle: The staying_in_lane_vehicle_group_lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post.
changing_lane_vehicle_group: The changing_lane_vehicle_group continues driving, maintaining its lane for the duration of gen_duration_at_post.
lead_traffic_slows_and_comes_to_stop
lead_traffic_slows_and_comes_to_stop_ego_warm_up
Ego: The Ego starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
lead_vehicle: The lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
left_lead_vehicle: The left_lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
right_lead_vehicle: The right_lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
lead_traffic_slows_and_comes_to_stop_post
Ego: The Ego continues driving, maintaining its lane for the duration of gen_duration_at_post.
lead_vehicle: The lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post.
left_lead_vehicle: The left_lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post.
right_lead_vehicle: The right_lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post.
motorcycle_passing_through_high_traffic_between_gaps
motorcycle_passing_through_high_traffic_between_gaps_ego_warm_up
Ego: The Ego starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
slow_vehicle_ahead_of_ego: The slow_vehicle_ahead_of_ego starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
traffic_vehicle_group: The traffic_vehicle_group starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
motorcycle: The motorcycle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
fast_vehicle_group: The fast_vehicle_group starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
motorcycle_passing_through_high_traffic_between_gaps_post
Ego: The Ego continues driving, maintaining its lane for the duration of gen_duration_at_post.
slow_vehicle_ahead_of_ego: The slow_vehicle_ahead_of_ego continues driving, maintaining its lane for the duration of gen_duration_at_post.
traffic_vehicle_group: The traffic_vehicle_group continues driving, maintaining its lane for the duration of gen_duration_at_post.
motorcycle: The motorcycle continues driving, maintaining its lane for the duration of gen_duration_at_post.
fast_vehicle_group: The fast_vehicle_group continues driving, maintaining its lane for the duration of gen_duration_at_post.
traffic_slows_and_comes_to_stop
traffic_slows_and_comes_to_stop_ego_warm_up
Ego: The Ego starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
traffic_group_lead_vehicle: The traffic_group_lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
congestion_group_lead_vehicle: The congestion_group_lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
traffic_vehicle_group: The traffic_vehicle_group starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
congestion_vehicle_group: The congestion_vehicle_group starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up.
traffic_slows_and_comes_to_stop_post
Ego: The Ego continues driving, maintaining its lane for the duration of gen_duration_at_post.
traffic_group_lead_vehicle: The traffic_group_lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post.
congestion_group_lead_vehicle: The congestion_group_lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post.
traffic_vehicle_group: The traffic_vehicle_group continues driving, maintaining its lane for the duration of gen_duration_at_post.
congestion_vehicle_group: The congestion_vehicle_group continues driving, maintaining its lane for the duration of gen_duration_at_post.
traffic_slows_and_comes_to_stop_on_junction
traffic_slows_and_comes_to_stop_on_junction_ego_warm_up
Ego: The Ego starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up in the junction.
traffic_group_lead_vehicle: The traffic_group_lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up in the junction.
congestion_group_lead_vehicle: The congestion_group_lead_vehicle starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up in the junction.
traffic_vehicle_group: The traffic_vehicle_group starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up in the junction.
congestion_vehicle_group: The congestion_vehicle_group starts driving and attempts to maintain its lane for the duration of gen_duration_at_ego_warm_up in the junction.
traffic_slows_and_comes_to_stop_on_junction_post
Ego: The Ego continues driving, maintaining its lane for the duration of gen_duration_at_post.
traffic_group_lead_vehicle: The traffic_group_lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post in the junction.
congestion_group_lead_vehicle: The congestion_group_lead_vehicle continues driving, maintaining its lane for the duration of gen_duration_at_post in the junction.
traffic_vehicle_group: The traffic_vehicle_group continues driving, maintaining its lane for the duration of gen_duration_at_post in the junction.
congestion_vehicle_group: The congestion_vehicle_group continues driving, maintaining its lane for the duration of gen_duration_at_post in the junction.
Parameters
| Parameter | Description | Range |
|---|---|---|
gen_ego_speed_at_start |
Input speed of the Ego at the start of the scenario | [0..150]kph |
Events
No events are defined in this scenario.
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 |
|---|---|---|---|
| -- | -- | -- | -- |
[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 |
|---|---|---|---|
| -- | -- | -- | -- |
[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 |
|---|---|---|---|