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

Social agent name should map to mission. #2008

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gamenot
Copy link
Collaborator

@Gamenot Gamenot commented May 2, 2023

This should make Scenario.missions[] contain the social agent name instead of the mangled id.

@Gamenot
Copy link
Collaborator Author

Gamenot commented May 2, 2023

It appears like this change causes a problem with combining groups of social agents.

The agent mission ids are marked like "social-actor-"+<group id>+<actor id>.

I can strip away the prefix "social-actor-" but then group id is still integrated. This is necessary because missions are combined between groups which may share the underlying actor name.

@Gamenot
Copy link
Collaborator Author

Gamenot commented May 2, 2023

@Adaickalavan

@Adaickalavan
Copy link
Member

Given this case, I have now resorted to searching for the vehicles of interest in Scenario.missions.keys() using a substring match criteria. Hence, this PR may be closed. Thanks.

@Gamenot
Copy link
Collaborator Author

Gamenot commented May 4, 2023

There is some consideration still here that the actor names should still be exactly named and unique between groups considering the actors are being combined across groups.

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

Successfully merging this pull request may close these issues.

2 participants