- always create pot
This commit is contained in:
@@ -26,7 +26,6 @@ if __name__ == '__main__':
|
||||
# Plant
|
||||
pot_params = config['Plant']
|
||||
pot = Pot(pot_params, 20)
|
||||
if "sim" in config['Controller']['plant_name']:
|
||||
if "sim" in config['Controller']['sensor_name']:
|
||||
pot.set_on_changed("temp", ChangedFloat(sensor.set_fake_temp, prec=3).set)
|
||||
taskmgr.add(PotTask(pot, DT_CTRL, dispatcher.msgio_get("Pot")))
|
||||
|
||||
Reference in New Issue
Block a user