From 2e187f7fc4875da4aa0f04778ce3c4329242a3e9 Mon Sep 17 00:00:00 2001 From: acki Date: Mon, 19 May 2025 17:31:38 -0400 Subject: [PATCH] update sim --- simulated_pcb/action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulated_pcb/action.py b/simulated_pcb/action.py index d4677da..b963560 100644 --- a/simulated_pcb/action.py +++ b/simulated_pcb/action.py @@ -14,7 +14,7 @@ class SimulatedPCB: # État simulé self.servos = {0: 0, 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, } # {id: pos_index} self.servo_angles = {0: {0: 0, 1: 0, 3: 0}, 1: {0: 0, 1: 0, 3: 0}, 2: {0: 0, 1: 0, 3: 0}, 3: {0: 0, 1: 0, 3: 0}, 4: {0: 0, 1: 0, 3: 0}, 5: {0: 0, 1: 0, 3: 0}, } # {id: {pos_index: angle}} - self.relais = {1: 0, 2: 0} + self.relais = {0: 0, 1: 0, 2: 0} self.ascenseur_pos = 0 self.fin_course = {} # à implémenter si besoin self.tirette_arm = False