tud-amr / localPlannerBench

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

Make use of property for private variables. #18

Open maxspahn opened 2 years ago

maxspahn commented 2 years ago

Some of the methods such as name are defined as class attributes with leading underscore. This is a convention for private variables, but does not actually make the variable private. Consider using property decorator, https://www.geeksforgeeks.org/python-property-decorator-property/