Skip to content

146. SUT Exit Highway evaluation scenario

In the sut_exit_highway evaluation scenario, the Ego drives on the highway and then exits the highway.

Scenario location: $FTX/logiq/scenario_library_post_match/ego_exit/sut_exit_highway

146.1 Actors

The actors associated with this scenario are as follows:

Actor Description Type Depiction
ego Vehicle under test vehicle
Figure 1: SUT approach junction

146.2 Scenario phases

The phase descriptions are as follows:

146.2.1 before_highway_exit

Ego: The Ego drives on the highway.

146.2.2 sut_exits_highway

Ego: The Ego exits the highway.

146.3 Configuration parameters

Use these parameters to constrain the scenario. If you do not set a specific value, the default value will be used.

Parameter Type Unit Description Default value
speed_gap_threshold speed kph Speed gap threshold to detect a speed drop between the start speed and the speed anywhere during the scenario 10kph
before_exit_max_duration time s Maximum duration of the before_exit_max_duration phase 5s

146.4 Metrics

146.4.1 Coverage

Item Description Values Unit/Type
ego_end_speed Ego speed at end [0..180), every: 10.0 kph
sut_speed_drop_check Check if the Ego speed has decreased according to the given speed_gap_threshold true, false bool
[Click] The coverage items inherited from the sut.logiq_base_scenario scenario are as follows:
Item Description Values Unit/Type
ego_speed_at_start Ego longitudinal speed at the start of the scenario [0..160), every: 10.0 mph

146.4.2 KPI

[Click] The KPIs inherited from the sut.logiq_base_scenario scenario are as follows:
Item Description Values Unit/Type
ego_max_lon_acceleration Ego maximum acceleration throughout the scenario mpsps
ego_min_lon_acceleration Ego minimum acceleration throughout the scenario mpsps
ego_min_speed Ego minimum longitudinal speed throughout the scenario mph
ego_avg_speed Ego average longitudinal speed throughout the scenario mph
ego_max_speed Ego maximum longitudinal speed throughout the scenario mph
ego_distance_traveled_during_interval Total distance traveled by the Ego during the interval m
interval_duration Interval duration of the scenario s

146.5 Log and Error Messages

No scenario-specific log messages.

146.6 Usage

Import the post-match scenario top file and register the matcher in a match: block, overriding only the parameters you need. Any omitted parameters use the defaults listed in Configuration parameters.

The matcher is also available through the shared post-match import bundle:

  • $FTX/logiq/customers/base/osc/post_match_scenarios.osc
  • $FTX/evaluate/library/scenarios/scenario_library_post_match.osc (evaluation builds).
OSC2 code: sut_exit_highway post-match scenario usage
import "$FTX/logiq/scenario_library_post_match/ego_exit/sut_exit_highway/sut_exit_highway_top.osc"

# The following example imports the top file and overrides two parameters:

match:
    sut_exit_highway: sut.sut_exit_highway(speed_gap_threshold: 10kph,
                                           before_exit_max_duration: 5s)