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

Infer default class key from yaml file containing road user classes #42

Open
martinbaerwolff opened this issue Feb 7, 2024 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@martinbaerwolff
Copy link
Member

martinbaerwolff commented Feb 7, 2024

if DEFAULT_CLASS_KEY is None:

We use a default class key for specifying, whether the road user class has to be specified in the gui or not. If only one class is possible, this is not needed. Hence, we could just infer the number of classes from the yaml file containing the road user classes and if that number is one, we could set that class as the default. This way, nobody would have to change the code to set the default class

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

No branches or pull requests

2 participants