carte esclave petit robot
Dependencies: mbed Herkulex_Library_2019 actions_Gr ident_crac actions_Pr
main.h@32:e9947815c4d7, 2019-05-23 (annotated)
- Committer:
- Artiom
- Date:
- Thu May 23 10:42:28 2019 +0000
- Revision:
- 32:e9947815c4d7
- Parent:
- 23:93a427b242ce
- Child:
- 36:5df59d61c95d
amelioration automate balance;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Artiom | 1:568955af8c2b | 1 | #ifndef MAIN_H |
Artiom | 1:568955af8c2b | 2 | #define MAIN_H |
kyxstark | 23:93a427b242ce | 3 | #include "mbed.h" |
Artiom | 32:e9947815c4d7 | 4 | |
Artiom | 32:e9947815c4d7 | 5 | |
Artiom | 32:e9947815c4d7 | 6 | //------------------------------------sellection Robot--------------------- |
Artiom | 32:e9947815c4d7 | 7 | //#define ROBOT_BIG //Si commenté Petit Robot, si Décommenter Gros Robot |
Artiom | 32:e9947815c4d7 | 8 | #ifndef ROBOT_BIG // !!!!!!!! ne pas commenter |
Artiom | 32:e9947815c4d7 | 9 | #define ROBOT_SMALL // !!!!!!!! ne pas commenter |
Artiom | 32:e9947815c4d7 | 10 | #endif // !!!!!!!! ne pas commenter |
Artiom | 32:e9947815c4d7 | 11 | |
Artiom | 32:e9947815c4d7 | 12 | //------------------------------------------------------------------------- |
Artiom | 32:e9947815c4d7 | 13 | |
Artiom | 32:e9947815c4d7 | 14 | |
kyxstark | 21:edf6d03fdb20 | 15 | #include "Asservissement.h" |
kyxstark | 21:edf6d03fdb20 | 16 | #include "ident_crac.h" |
kyxstark | 21:edf6d03fdb20 | 17 | #include "Capteur.h" |
kyxstark | 23:93a427b242ce | 18 | //#include "Actionneurs.h" |
kyxstark | 21:edf6d03fdb20 | 19 | #include "fonctions_herkulex.h" |
kyxstark | 23:93a427b242ce | 20 | #include "herkulex_rob.h" |
kyxstark | 21:edf6d03fdb20 | 21 | #include "dt.h" |
kyxstark | 21:edf6d03fdb20 | 22 | |
kyxstark | 23:93a427b242ce | 23 | |
kyxstark | 21:edf6d03fdb20 | 24 | #ifdef ROBOT_BIG |
kyxstark | 21:edf6d03fdb20 | 25 | #include "actions_Gr.h" |
kyxstark | 21:edf6d03fdb20 | 26 | #endif |
kyxstark | 21:edf6d03fdb20 | 27 | #ifdef ROBOT_SMALL |
kyxstark | 21:edf6d03fdb20 | 28 | #include "actions_Pr.h" |
kyxstark | 23:93a427b242ce | 29 | #endif |
kyxstark | 21:edf6d03fdb20 | 30 | |
kyxstark | 21:edf6d03fdb20 | 31 | |
Artiom | 1:568955af8c2b | 32 | extern CAN can; |
Artiom | 32:e9947815c4d7 | 33 | extern char cote; |
Artiom | 1:568955af8c2b | 34 | #endif |