Alexandre Salconi-Denis / Mbed 2 deprecated ProjetOctopode

Dependencies:   debug mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers settingDebug.h Source File

settingDebug.h

00001 /** @file main.cpp */
00002 #ifndef SETTDEBUG_H
00003 #define SETTDEBUG_H
00004 
00005 //#define DEBUG_DIRECTIVE_TEST_CAPTEUR
00006 
00007 #define ENABLE_TASK_CRIT
00008 //#define ENABLE_TASK_ALERT
00009 #define ENABLE_TASK_GEN
00010 
00011 #define DBG_MAIN_INIT //enable to make sure all task is created
00012     #define DEBUG_INIT_TASKCRITT 1
00013     //#define DBG_MAIN_DELAY_SEC .2 
00014 //#define DEBUG_BOOT_GRAPHICAL_INTERFACE // enable ANSI interface to view all process 
00015 //#define DEBUG_DIRECTIVE_GRAPHICAL_INTERFACE // enable ANSI interface to view directive process 
00016     #define DEBUG_DIRECTIVE_MAZE_GRAPHICAL_INTERFACE_ENABLE 0 /*enable debug for maze*/
00017 //#define DEBUG_LABYRINTHE_GRAPHICAL_INTERFACE
00018 
00019 //#define DBG_MAIN_FLAG //Show Flag trought each process
00020 
00021 #define DEBUG_TASKCRITT 0
00022     //#define DGB_FORCE_INIT // use to brute force all patche to avoid bad reset.
00023     
00024 //#define DEBUG_MOUVEMENT_COMM_OFF    //disable comm with ssc-32
00025 
00026 //#define DEBUG_DIRECTIVE_LEG_DISABLE //skip all linked whit the control of leg
00027 //#define DEBUG_DIRECTIVE_LABYRINTH_USER_CTRL // chose manualy what robot see
00028 //#define DEBUG_LABYRINTHE_ADD_MAP //show process "addmap(char x, char y)"
00029 #define DEBUG_DIRECTIVE_TEST 0
00030 #define DEBUG_DIRECTIVE_MINIMAL_PRESENTATION
00031 //#define DEBUG_DIRECTIVE_TASK_PAUSE
00032 //#define DEBUG_DIRECTIVE_TRAITEMENT 1
00033 //#define DEBUG_DIRECTIVE_LABYRINTH 0
00034 //#define DEBUG_DIRECTIVE_SHOW_MAP_LABYRINTH
00035 #define DIRECTIVE_IR_BUFFER_LENGHT  3/*1*/
00036 #define DIRECTIVE_ULTRASONIC_BUFFER_LENGHT /*3*/1
00037 #define DIRECTIVE_IR_LIMIT_SHORT    25
00038 #define DIRECTIVE_IR_LIMIT_MIDDLE   43
00039 #define DIRECTIVE_IR_LIMIT_LONG     50
00040 #define DIRECTIVE_NUMBER_TURN_45_DEG 6 
00041 #define DIRECTIVE_NUMBER_TURN_90_DEG (DIRECTIVE_NUMBER_TURN_45_DEG*2) 
00042 #define DIRECTIVE_TABLEAUDECOMMANDE_SIZE 30
00043 
00044 #define DIRECTIVE_ULTRASONIC_LIMIT_SHORT    25
00045 #define DIRECTIVE_ULTRASONIC_LIMIT_MIDDLE   43
00046 #define DIRECTIVE_ULTRASONIC_LIMIT_LONG     50
00047 //#define DEBUG_DIRECTIVE_UPDATE_MODULE
00048 //#define DEGUG_LABIRINTH_GET_CASE
00049 //#define DEGUG_LABIRINTH_GET_COORDONER
00050 //#define DEGUG_LABIRINTH_SET_COORDONER
00051 //#define DEBUG_LABYRINTHE_ADD_MAP
00052 //#define DEBUG_LABYRINTHE_SHOW_MAP
00053 
00054 #define DEBUG_HOMEMADESEQ_PERCENT_DELAIS 80
00055 #define DEBUG_HOMEMADESEQ_PERCENT_DELAIS_PAUSE 30
00056 #define DEBUG_HOMEMADE_GETFRAME 0
00057 #define DEBUG_HOMEMADE_GETTIME 0
00058 #define DEBUG_HOMEMADE_NEXTFRAME 0
00059 #define DEBUG_HOMEMADE_PREVFRAME 0
00060 #define DELAITESTE 1000
00061 #endif