Programme carte strategie (disco)

Dependencies:   mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac

Committer:
ClementBreteau
Date:
Mon May 22 15:01:49 2017 +0000
Revision:
18:cc5fec34ed9c
Parent:
15:c2fc239e85df
v2

Who changed what in which revision?

UserRevisionLine numberNew contents of line
antbig 3:19f2285a4757 1 #ifndef CRAC_CONFIG_BIG
antbig 3:19f2285a4757 2 #define CRAC_CONFIG_BIG
antbig 3:19f2285a4757 3 /**
antbig 3:19f2285a4757 4 Fichier de configuration des action specifique au gros robot
antbig 3:19f2285a4757 5 **/
ClementBreteau 18:cc5fec34ed9c 6 #define BRAS_AVANT 1
ClementBreteau 18:cc5fec34ed9c 7 #define BRAS_ARRIERE 2
ClementBreteau 18:cc5fec34ed9c 8
ClementBreteau 18:cc5fec34ed9c 9 #define INV 1
ClementBreteau 18:cc5fec34ed9c 10
ClementBreteau 18:cc5fec34ed9c 11 #define AX12_MODULE_AV 0x0C
ClementBreteau 18:cc5fec34ed9c 12 #define AX12_MODULE_AV_INV 0x0E
ClementBreteau 18:cc5fec34ed9c 13
ClementBreteau 18:cc5fec34ed9c 14 #define AX12_MODULE_AR 0x20Z
ClementBreteau 18:cc5fec34ed9c 15 #define AX12_MODULE_AR_INV 0x22
ClementBreteau 15:c2fc239e85df 16
antbig 3:19f2285a4757 17
antbig 8:0edc7dfb7f7e 18 #define AX12_ID_PINCE_ARRIERE_HAUTE_GAUCHE 18
antbig 8:0edc7dfb7f7e 19 #define AX12_ID_PINCE_ARRIERE_HAUTE_DROITE 15
antbig 9:d0042422d95a 20 #define AX12_ID_PINCE_ARRIERE_BASSE_GAUCHE 13
antbig 9:d0042422d95a 21 #define AX12_ID_PINCE_ARRIERE_BASSE_DROITE 14
antbig 8:0edc7dfb7f7e 22 #define AX12_ID_PORTE_ARRIERE_DROITE 4
antbig 8:0edc7dfb7f7e 23 #define AX12_ID_PORTE_ARRIERE_GAUCHE 5
antbig 9:d0042422d95a 24 #define AX12_ID_FUNNY_ACTION 1
antbig 12:14729d584500 25 #define AX12_ID_CHARIOT 2
antbig 12:14729d584500 26 #define AX12_ID_PEIGNE 3
antbig 12:14729d584500 27 #define AX12_ID_PORTE_AVANT_DROITE 11
antbig 12:14729d584500 28 #define AX12_ID_PORTE_AVANT_GAUCHE 6
antbig 12:14729d584500 29 #define AX12_ID_VENTOUSE 8
antbig 12:14729d584500 30 #define AX12_ID_CONE 7
antbig 12:14729d584500 31
antbig 12:14729d584500 32 #define AX12_ANGLE_FUNNY_ACTION_CLOSE 150
antbig 12:14729d584500 33 #define AX12_ANGLE_FUNNY_ACTION_OPEN 95
antbig 9:d0042422d95a 34
antbig 9:d0042422d95a 35
antbig 3:19f2285a4757 36
antbig 12:14729d584500 37 #define AX12_ANGLE_PORTE_AVANT_GAUCHE_OUVERTE 18
antbig 12:14729d584500 38 #define AX12_ANGLE_PORTE_AVANT_GAUCHE_FERMER 120
antbig 12:14729d584500 39 #define AX12_ANGLE_PORTE_AVANT_DROITE_OUVERTE 280
antbig 12:14729d584500 40 #define AX12_ANGLE_PORTE_AVANT_DROITE_FERMER 183
antbig 12:14729d584500 41
antbig 12:14729d584500 42 #define AX12_ANGLE_PEIGNE_UP 60
antbig 12:14729d584500 43 #define AX12_ANGLE_PEIGNE_DOWN 120
antbig 12:14729d584500 44
antbig 12:14729d584500 45 #define AX12_ANGLE_VENTOUSE_UP 150
antbig 12:14729d584500 46 #define AX12_ANGLE_VENTOUSE_DOWN 130
antbig 12:14729d584500 47
antbig 12:14729d584500 48 #define AX12_ANGLE_CONE_INSIDE 45
antbig 12:14729d584500 49 #define AX12_ANGLE_CONE_OUTSIDE 155
antbig 12:14729d584500 50
antbig 12:14729d584500 51
antbig 12:14729d584500 52
antbig 12:14729d584500 53 #define AX12_SPEED_FUNNY_ACTION 100
antbig 12:14729d584500 54 #define AX12_SPEED_VENTOUSE 100
antbig 12:14729d584500 55 #define AX12_SPEED_PEIGNE 500
antbig 12:14729d584500 56
antbig 12:14729d584500 57 #define POMPES_PWM 100
antbig 12:14729d584500 58
ClementBreteau 14:c8fc06c4887f 59
ClementBreteau 14:c8fc06c4887f 60
antbig 3:19f2285a4757 61 #endif