|
@@ -66,6 +66,8 @@ class QLearningCommandBuilder:
|
|
speed = self.predict_speed(input_value)
|
|
speed = self.predict_speed(input_value)
|
|
if np.isnan(current_temperature) or np.isnan(pre_temperature):
|
|
if np.isnan(current_temperature) or np.isnan(pre_temperature):
|
|
speed = 2
|
|
speed = 2
|
|
|
|
+ if actual_target == 0.0:
|
|
|
|
+ speed = 0
|
|
|
|
|
|
if speed == 0:
|
|
if speed == 0:
|
|
on_off = 0
|
|
on_off = 0
|