- use better config

git-svn-id: http://moon:8086/svn/projects/HendiControl@145 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-03-26 20:03:50 +00:00
parent 90ad3ade4c
commit 10f9c134b1
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ if __name__ == '__main__':
plant_class = globals()[configJson["Controller"]['plant_name']]
plant = plant_class(configJson["WaterSim"])
ruehrer_class = globals()[configJson["Controller"]['stirrer_name']]
ruehrer = ruehrer_class(configJson["Controller"]['dt'])
ruehrer = ruehrer_class(configJson["Stirrer"])
ablauf = Controller(configJson["Controller"], plant, ruehrer)