- fixed
git-svn-id: http://moon:8086/svn/projects/HendiControl@138 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -6,6 +6,7 @@ from controller import Controller
|
||||
from mass import Mass
|
||||
from stirrer import Stirrer
|
||||
from matplotlib.pyplot import figure, clf, plot, xlabel, ylabel, xlim, ylim, title, grid, axes, show, subplot
|
||||
from pololu1376 import Pololu1376
|
||||
|
||||
def results_plot(self):
|
||||
|
||||
@@ -40,7 +41,9 @@ if __name__ == '__main__':
|
||||
configJson = json.load(fp)
|
||||
|
||||
plant = Mass(configJson["WaterSim"])
|
||||
ruehrer = Stirrer(configJson["Stirrer"])
|
||||
# ruehrer = Stirrer(configJson["Controller"]['dt'])
|
||||
ruehrer = Pololu1376(configJson["Controller"]['dt'], "/dev/ttyACM0", "115200")
|
||||
|
||||
ablauf = Controller(configJson["Controller"], plant, ruehrer)
|
||||
|
||||
fp = open("Rezept-001.json")
|
||||
|
||||
Reference in New Issue
Block a user