Programme de contrôle de l'octopode 4DOF, Theraphosa-Salconi.

Dependencies:   debug mbed

CtrlBridge

  • fonction quelquonque pour communiquer avec les module
  • fonction quelquonque pour faire des recherche dans les module dispo
  • autre fonction pour jouer avec MemRegistre

Version 1.2.0

  • Ajout d'un mode de simulation pour tester le code avec seulement un contrôleur stm32
Revision:
40:ecef15b1dfad
Parent:
39:34d7802e8d15
diff -r 34d7802e8d15 -r ecef15b1dfad settingDebug.h
--- a/settingDebug.h	Thu Oct 15 00:49:37 2015 +0000
+++ b/settingDebug.h	Tue Jan 31 13:08:55 2017 +0000
@@ -2,7 +2,7 @@
 #ifndef SETTDEBUG_H
 #define SETTDEBUG_H
 
-#define DEBUG_DIRECTIVE_TEST_CAPTEUR
+//#define DEBUG_DIRECTIVE_TEST_CAPTEUR
 
 #define ENABLE_TASK_CRIT
 //#define ENABLE_TASK_ALERT
@@ -11,7 +11,7 @@
 #define DBG_MAIN_INIT //enable to make sure all task is created
     #define DEBUG_INIT_TASKCRITT 1
     //#define DBG_MAIN_DELAY_SEC .2 
-#define DEBUG_BOOT_GRAPHICAL_INTERFACE // enable ANSI interface to view all process 
+//#define DEBUG_BOOT_GRAPHICAL_INTERFACE // enable ANSI interface to view all process 
 //#define DEBUG_DIRECTIVE_GRAPHICAL_INTERFACE // enable ANSI interface to view directive process 
     #define DEBUG_DIRECTIVE_MAZE_GRAPHICAL_INTERFACE_ENABLE 0 /*enable debug for maze*/
 //#define DEBUG_LABYRINTHE_GRAPHICAL_INTERFACE
@@ -27,27 +27,32 @@
 //#define DEBUG_DIRECTIVE_LABYRINTH_USER_CTRL // chose manualy what robot see
 //#define DEBUG_LABYRINTHE_ADD_MAP //show process "addmap(char x, char y)"
 #define DEBUG_DIRECTIVE_TEST 0
-#define DEBUG_DIRECTIVE_TRAITEMENT 1
-#define DEBUG_DIRECTIVE_LABYRINTH 1
-#define DEBUG_DIRECTIVE_SHOW_MAP_LABYRINTH
+#define DEBUG_DIRECTIVE_MINIMAL_PRESENTATION
+//#define DEBUG_DIRECTIVE_TASK_PAUSE
+//#define DEBUG_DIRECTIVE_TRAITEMENT 1
+//#define DEBUG_DIRECTIVE_LABYRINTH 0
+//#define DEBUG_DIRECTIVE_SHOW_MAP_LABYRINTH
 #define DIRECTIVE_IR_BUFFER_LENGHT  3/*1*/
 #define DIRECTIVE_ULTRASONIC_BUFFER_LENGHT /*3*/1
-#define DIRECTIVE_IR_LIMIT_SHORT    15
-#define DIRECTIVE_IR_LIMIT_MIDDLE   33
+#define DIRECTIVE_IR_LIMIT_SHORT    25
+#define DIRECTIVE_IR_LIMIT_MIDDLE   43
 #define DIRECTIVE_IR_LIMIT_LONG     50
+#define DIRECTIVE_NUMBER_TURN_45_DEG 6 
+#define DIRECTIVE_NUMBER_TURN_90_DEG (DIRECTIVE_NUMBER_TURN_45_DEG*2) 
+#define DIRECTIVE_TABLEAUDECOMMANDE_SIZE 30
 
-#define DIRECTIVE_ULTRASONIC_LIMIT_SHORT    13
-#define DIRECTIVE_ULTRASONIC_LIMIT_MIDDLE   33
+#define DIRECTIVE_ULTRASONIC_LIMIT_SHORT    25
+#define DIRECTIVE_ULTRASONIC_LIMIT_MIDDLE   43
 #define DIRECTIVE_ULTRASONIC_LIMIT_LONG     50
-#define DEBUG_DIRECTIVE_UPDATE_MODULE
+//#define DEBUG_DIRECTIVE_UPDATE_MODULE
 //#define DEGUG_LABIRINTH_GET_CASE
 //#define DEGUG_LABIRINTH_GET_COORDONER
 //#define DEGUG_LABIRINTH_SET_COORDONER
 //#define DEBUG_LABYRINTHE_ADD_MAP
 //#define DEBUG_LABYRINTHE_SHOW_MAP
 
-#define DEBUG_HOMEMADESEQ_PERCENT_DELAIS 100
-#define DEBUG_HOMEMADESEQ_PERCENT_DELAIS_PAUSE 50
+#define DEBUG_HOMEMADESEQ_PERCENT_DELAIS 80
+#define DEBUG_HOMEMADESEQ_PERCENT_DELAIS_PAUSE 30
 #define DEBUG_HOMEMADE_GETFRAME 0
 #define DEBUG_HOMEMADE_GETTIME 0
 #define DEBUG_HOMEMADE_NEXTFRAME 0