Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Conditional vehicle takeover #2002

Closed
Gamenot opened this issue Apr 28, 2023 · 1 comment · Fixed by #2020
Closed

[Feature request] Conditional vehicle takeover #2002

Gamenot opened this issue Apr 28, 2023 · 1 comment · Fixed by #2020
Labels
enhancement New feature or request

Comments

@Gamenot
Copy link
Collaborator

Gamenot commented Apr 28, 2023

Motivation

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

Cases:

  • After another vehicle shows up in the simulation
  • Vehicle is on-road.
  • If the vehicle is a particular type.
  • When vehicle is released by another agent.
  • Delay # seconds.

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.

@Gamenot Gamenot added the enhancement New feature or request label Apr 28, 2023
@qianyi-sun
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants