Skip to content

Add pass/fail criteria #127

@diegoyabuki

Description

@diegoyabuki

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I've agreed with the maintainers that I can plan this task.

Description

The SafetyPool scenarios do not include pass/fail criteria, as those are not part of the official standard. However, SSv2 still needs some condition to stop the simulation once the goal position is reached, or the simulation will run until timeout. This task involves implementing a catalog of generic criteria that can selectively applied to converted scenarios (e.g. do not collide with NPCs, do not leave the driving lane, reach the goal position, etc..).

Purpose

To ensure that the SSv2 simulation ends when the scenario objective is achieved.

Possible approaches

  • Consider a set of generic pass and fail criteria
  • For each criteria, define a condition that, when met, makes the criteria applicable to the scenario
  • Implement the logic that attaches these criteria to converted scenarios

Definition of done

The logic to automatically attach pass/fail criteria to the scenario is implemented and verified against a set of SafetyPool scenarios

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Ready

Relationships

None yet

Development

No branches or pull requests

Issue actions