tud-amr / localPlannerBench

Local Planner Bench
https://tud-amr.github.io/localPlannerBench/
GNU General Public License v3.0
49 stars 5 forks source link

Getter for key-value pairs after yaml parsing #11

Open maxspahn opened 2 years ago

maxspahn commented 2 years ago

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.