diff --git a/_spaun/modules/motor_system.py b/_spaun/modules/motor_system.py index 290090e..deb1931 100644 --- a/_spaun/modules/motor_system.py +++ b/_spaun/modules/motor_system.py @@ -162,6 +162,10 @@ def init_module(self): nengo.Connection(self.motor_bypass.output, target_diff_norm.neurons, transform=[[-3.0]] * target_diff_norm.n_neurons) + if arm_obj is None: + # Disable the target_diff_norm when there is no arm object + nengo.Connection(bias_node, target_diff_norm.neurons, + transform=[[-10.0]] * target_diff_norm.n_neurons) # ------ MOTOR PEN DOWN CONTROL ------ pen_down = cfg.make_thresh_ens_net()