Skip to content

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.

3 participants