- added Kalman to brewpi controller

git-svn-id: http://moon:8086/svn/projects/HendiControl@211 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-04-03 05:17:40 +00:00
parent 8f9f19e0c3
commit 9dbd92a379
2 changed files with 57 additions and 24 deletions
+3 -3
View File
@@ -13,12 +13,12 @@ def results_plot(self):
figure(1)
subplot(4, 1, 1)
plot(self.time_v, self.theta_v, 'b-', linewidth=1)
plot(self.time_v, self.theta_v, 'b-', self.time_v, self.theta_k_v, 'r-', linewidth=1)
title('Temperature')
grid(True)
ylabel('°C')
subplot(4, 1, 2)
plot(self.time_v, self.power_v, 'r-', linewidth=1)
plot(self.time_v, self.power_v, 'b-', linewidth=1)
title('Power')
grid(True)
ylabel('W')
@@ -28,7 +28,7 @@ def results_plot(self):
grid(True)
ylabel('°C')
subplot(4, 1, 4)
plot(self.time_v, self.heatrate_v, 'r-', linewidth=1)
plot(self.time_v, self.heatrate_v, 'b-', self.time_v, self.heatrate_k_v, 'r-', linewidth=1)
title('Heatrate')
grid(True)
ylabel('°C/min')