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

Getter for key-value pairs after yaml parsing #11

Open
maxspahn opened this issue Mar 3, 2022 · 0 comments
Open

Getter for key-value pairs after yaml parsing #11

maxspahn opened this issue Mar 3, 2022 · 0 comments

Comments

@maxspahn
Copy link
Collaborator

maxspahn commented Mar 3, 2022

Some classes, experiment.py, mpcPlanner.py, fabricPlanner.py are mainly parsing yaml files into dictonaries.
Then individual getters are created for the key-value pairs. This is responsible for large parts of the code.

https://github.com/maxspahn/localPlannerBench/blob/d2e5f47acd8ddcb2bdca362f04c3258991510d31/plannerbenchmark/planner/fabricPlanner.py#L56-L89

Maybe, it is possible to switch to a different parameter storing style, see python dataclasses.

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

No branches or pull requests

1 participant