From 56d4b8209f36b90ee5cca9a0a409aa89e6b6eac8 Mon Sep 17 00:00:00 2001 From: PF Date: Fri, 26 May 2017 22:30:18 +0200 Subject: [PATCH] Ordres actionneurs --- pc/src/config/ConfigInfo.java | 16 ++++++++-------- pc/src/remoteControl/Client.java | 3 +++ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/pc/src/config/ConfigInfo.java b/pc/src/config/ConfigInfo.java index e6889abb..6e1d987f 100644 --- a/pc/src/config/ConfigInfo.java +++ b/pc/src/config/ConfigInfo.java @@ -121,14 +121,14 @@ public enum ConfigInfo TURN_LEFT_KEY(37), TURN_RIGHT_KEY(39), RESET_WHEELS_KEY(10), - BAISSE_FILET_KEY(66), - LEVE_FILET_KEY(76), - EJECTE_DROITE_KEY(68), - EJECTE_GAUCHE_KEY(71), - REARME_DROITE_KEY(69), - REARME_GAUCHE_KEY(84), - FERME_FILET_KEY(70), - OUVRE_FILET_KEY(79), + BAISSE_FILET_KEY(75), // 66 + LEVE_FILET_KEY(82), // 76 + EJECTE_DROITE_KEY(73), // 68 + EJECTE_GAUCHE_KEY(65), // 71 + REARME_DROITE_KEY(80), // 69 + REARME_GAUCHE_KEY(66), // 84 + FERME_FILET_KEY(69), // 70 + OUVRE_FILET_KEY(76), // 79 /** * Paramètres bas niveau des capteurs diff --git a/pc/src/remoteControl/Client.java b/pc/src/remoteControl/Client.java index 2f7d70ba..d78f9ec4 100644 --- a/pc/src/remoteControl/Client.java +++ b/pc/src/remoteControl/Client.java @@ -168,6 +168,9 @@ else if(!args[i].startsWith("-")) frame.setVisible(true); repaint(); + for(Commandes c : Commandes.values()) + log.debug(c+" "+c.code); + int noSending = 0; try {