Blinka merge, playing with config settings.

This commit is contained in:
James Kirikland Garner
2022-12-15 10:23:08 -08:00
parent a6674c5ddc
commit 8d770b3086
3 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -508,7 +508,7 @@ class SimulatedOven(Oven):
self.R_o_nocool = config.sim_R_o_nocool
self.R_ho_noair = config.sim_R_ho_noair
self.R_ho = self.R_ho_noair
self.speedup_factor = 1000
self.speedup_factor = config.sim_speedup_factor
# set temps to the temp of the surrounding environment
self.t = self.t_env # deg C temp of oven
+2 -4
View File
@@ -35,10 +35,8 @@ class OvenWatcher(threading.Thread):
self.recording = False
self.notify_all(oven_state)
if config.simulate:
time.sleep(self.oven.time_step)
else:
time.sleep(self.oven.time_step)
time.sleep(self.oven.time_step)
def lastlog_subset(self,maxpts=50):