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
Committer:
salco
Date:
Tue Jan 31 13:15:42 2017 +0000
Revision:
41:0b5c14dda54a
Parent:
40:ecef15b1dfad
Tentative de modifier les commit inutile sur debug.h

Who changed what in which revision?

UserRevisionLine numberNew contents of line
salco 36:474d4795aafa 1 /** @file main.cpp */
salco 29:51308764fdd0 2 #ifndef SETTDEBUG_H
salco 29:51308764fdd0 3 #define SETTDEBUG_H
salco 29:51308764fdd0 4
salco 40:ecef15b1dfad 5 //#define DEBUG_DIRECTIVE_TEST_CAPTEUR
salco 39:34d7802e8d15 6
salco 35:d81f6b927932 7 #define ENABLE_TASK_CRIT
salco 35:d81f6b927932 8 //#define ENABLE_TASK_ALERT
salco 35:d81f6b927932 9 #define ENABLE_TASK_GEN
salco 35:d81f6b927932 10
salco 29:51308764fdd0 11 #define DBG_MAIN_INIT //enable to make sure all task is created
salco 29:51308764fdd0 12 #define DEBUG_INIT_TASKCRITT 1
salco 39:34d7802e8d15 13 //#define DBG_MAIN_DELAY_SEC .2
salco 40:ecef15b1dfad 14 //#define DEBUG_BOOT_GRAPHICAL_INTERFACE // enable ANSI interface to view all process
salco 39:34d7802e8d15 15 //#define DEBUG_DIRECTIVE_GRAPHICAL_INTERFACE // enable ANSI interface to view directive process
salco 39:34d7802e8d15 16 #define DEBUG_DIRECTIVE_MAZE_GRAPHICAL_INTERFACE_ENABLE 0 /*enable debug for maze*/
salco 37:f53e9f7a14df 17 //#define DEBUG_LABYRINTHE_GRAPHICAL_INTERFACE
salco 31:ed23647fd16e 18
salco 35:d81f6b927932 19 //#define DBG_MAIN_FLAG //Show Flag trought each process
salco 32:65eecdf56e2c 20
salco 39:34d7802e8d15 21 #define DEBUG_TASKCRITT 0
salco 39:34d7802e8d15 22 //#define DGB_FORCE_INIT // use to brute force all patche to avoid bad reset.
salco 30:7305ea319fe6 23
salco 39:34d7802e8d15 24 //#define DEBUG_MOUVEMENT_COMM_OFF //disable comm with ssc-32
salco 29:51308764fdd0 25
salco 39:34d7802e8d15 26 //#define DEBUG_DIRECTIVE_LEG_DISABLE //skip all linked whit the control of leg
salco 39:34d7802e8d15 27 //#define DEBUG_DIRECTIVE_LABYRINTH_USER_CTRL // chose manualy what robot see
salco 35:d81f6b927932 28 //#define DEBUG_LABYRINTHE_ADD_MAP //show process "addmap(char x, char y)"
salco 39:34d7802e8d15 29 #define DEBUG_DIRECTIVE_TEST 0
salco 40:ecef15b1dfad 30 #define DEBUG_DIRECTIVE_MINIMAL_PRESENTATION
salco 40:ecef15b1dfad 31 //#define DEBUG_DIRECTIVE_TASK_PAUSE
salco 40:ecef15b1dfad 32 //#define DEBUG_DIRECTIVE_TRAITEMENT 1
salco 40:ecef15b1dfad 33 //#define DEBUG_DIRECTIVE_LABYRINTH 0
salco 40:ecef15b1dfad 34 //#define DEBUG_DIRECTIVE_SHOW_MAP_LABYRINTH
salco 39:34d7802e8d15 35 #define DIRECTIVE_IR_BUFFER_LENGHT 3/*1*/
salco 39:34d7802e8d15 36 #define DIRECTIVE_ULTRASONIC_BUFFER_LENGHT /*3*/1
salco 40:ecef15b1dfad 37 #define DIRECTIVE_IR_LIMIT_SHORT 25
salco 40:ecef15b1dfad 38 #define DIRECTIVE_IR_LIMIT_MIDDLE 43
salco 39:34d7802e8d15 39 #define DIRECTIVE_IR_LIMIT_LONG 50
salco 40:ecef15b1dfad 40 #define DIRECTIVE_NUMBER_TURN_45_DEG 6
salco 40:ecef15b1dfad 41 #define DIRECTIVE_NUMBER_TURN_90_DEG (DIRECTIVE_NUMBER_TURN_45_DEG*2)
salco 40:ecef15b1dfad 42 #define DIRECTIVE_TABLEAUDECOMMANDE_SIZE 30
salco 35:d81f6b927932 43
salco 40:ecef15b1dfad 44 #define DIRECTIVE_ULTRASONIC_LIMIT_SHORT 25
salco 40:ecef15b1dfad 45 #define DIRECTIVE_ULTRASONIC_LIMIT_MIDDLE 43
salco 39:34d7802e8d15 46 #define DIRECTIVE_ULTRASONIC_LIMIT_LONG 50
salco 40:ecef15b1dfad 47 //#define DEBUG_DIRECTIVE_UPDATE_MODULE
salco 39:34d7802e8d15 48 //#define DEGUG_LABIRINTH_GET_CASE
salco 37:f53e9f7a14df 49 //#define DEGUG_LABIRINTH_GET_COORDONER
salco 37:f53e9f7a14df 50 //#define DEGUG_LABIRINTH_SET_COORDONER
salco 37:f53e9f7a14df 51 //#define DEBUG_LABYRINTHE_ADD_MAP
salco 37:f53e9f7a14df 52 //#define DEBUG_LABYRINTHE_SHOW_MAP
salco 39:34d7802e8d15 53
salco 40:ecef15b1dfad 54 #define DEBUG_HOMEMADESEQ_PERCENT_DELAIS 80
salco 40:ecef15b1dfad 55 #define DEBUG_HOMEMADESEQ_PERCENT_DELAIS_PAUSE 30
salco 39:34d7802e8d15 56 #define DEBUG_HOMEMADE_GETFRAME 0
salco 39:34d7802e8d15 57 #define DEBUG_HOMEMADE_GETTIME 0
salco 39:34d7802e8d15 58 #define DEBUG_HOMEMADE_NEXTFRAME 0
salco 39:34d7802e8d15 59 #define DEBUG_HOMEMADE_PREVFRAME 0
salco 39:34d7802e8d15 60 #define DELAITESTE 1000
salco 29:51308764fdd0 61 #endif