huawei-noah / SMARTS

Scalable Multi-Agent RL Training School for Autonomous Driving
MIT License
944 stars 190 forks source link

[Feature request] Conditional vehicle takeover #2002

Closed Gamenot closed 1 year ago

Gamenot commented 1 year ago

Motivation

We need a way to express conditions under SMARTS systems should change the controlling owner of a vehicle

Cases:

This is a companion to #2001

Proposal

The first step to solving these problems is to provide an interface for conditions that allows for combining them. The conditions should purely declare if a condition is met and nothing else.

Alternatives

No response

Additional context

Issue #1965 is the first attempt at this.

qianyi-sun commented 1 year ago

another case could be "if the vehicle has a particular id", to exclude the leader in following scenarios as well