Blinka merge, playing with config settings.
This commit is contained in:
+1
-1
@@ -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
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user