Open maxspahn opened 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.
experiment.py
mpcPlanner.py
fabricPlanner.py
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.
dataclasses
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
.