wip
This commit is contained in:
parent
c2e1ab49f7
commit
fb3614fb56
|
@ -153,10 +153,10 @@ class State():
|
|||
if ctrl.input_label not in self.envdata['sensors'].keys():
|
||||
print(f'Missing sensor {ctrl.input_label}')
|
||||
continue
|
||||
response = ctrl.apply(self.envdata['sensors'][ctrl.input_label][0])
|
||||
actuators[controller].enable(response)
|
||||
except:
|
||||
print("UNKNOWN BUG HERE in run_step")
|
||||
response = ctrl.apply(self.envdata['sensors'][ctrl.input_label][0])
|
||||
actuators[controller].enable(response)
|
||||
if self.check():
|
||||
if self.next() is None:
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue