Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: carte_esclave201_petit_rob carte_esclave2019 carte_esclave_PETIT_ROBOT_2019 ACRAC_carte_esclave_GROS_ROBOT_2019
actions_Pr.h@31:dd39b63a012a, 2022-04-22 (annotated)
- Committer:
- gein
- Date:
- Fri Apr 22 16:14:12 2022 +0000
- Revision:
- 31:dd39b63a012a
- Parent:
- 30:f052129d3b4e
- Child:
- 34:2d7d09f9965c
u
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Artiom | 0:42544b5e8b9f | 1 | #ifndef ACTIONS_PR_H |
Artiom | 0:42544b5e8b9f | 2 | #define ACTIONS_PR_H |
Artiom | 0:42544b5e8b9f | 3 | #include "main.h" |
Artiom | 0:42544b5e8b9f | 4 | |
gein | 31:dd39b63a012a | 5 | #define rouge 0 |
gein | 31:dd39b63a012a | 6 | #define Enemy_color 2 |
gein | 31:dd39b63a012a | 7 | #define Mycolor 1 |
gein | 31:dd39b63a012a | 8 | |
goldmas | 29:24277e12c44c | 9 | extern char aut_bras_av_at, aut_bras_av_re; |
maximilienlv | 24:a533b0e5fc12 | 10 | extern char aut_bras_av_1_at, aut_bras_av_1_re; |
maximilienlv | 24:a533b0e5fc12 | 11 | extern char aut_bras_av_2_at, aut_bras_av_2_re; |
maximilienlv | 24:a533b0e5fc12 | 12 | extern char aut_bras_av_3_at, aut_bras_av_3_re; |
goldmas | 30:f052129d3b4e | 13 | extern char aut_manche_haut, aut_manche_bas, aut_manche_moy ; |
goldmas | 30:f052129d3b4e | 14 | extern char aut_bras_av_prepa, aut_bras_av_pose; |
goldmas | 30:f052129d3b4e | 15 | extern char aut_bras_av_1_prepa, aut_bras_av_1_pose; |
goldmas | 30:f052129d3b4e | 16 | extern char aut_bras_av_2_prepa, aut_bras_av_2_pose; |
goldmas | 30:f052129d3b4e | 17 | extern char aut_bras_av_3_prepa, aut_bras_av_3_pose; |
maximilienlv | 23:b38045fe95f9 | 18 | |
maximilienlv | 24:a533b0e5fc12 | 19 | //////////////////////////à garder////////////////////////// |
maximilienlv | 23:b38045fe95f9 | 20 | void gabarit_robot_droit(void); |
maximilienlv | 23:b38045fe95f9 | 21 | void gabarit_robot_gauche(void); |
goldmas | 28:4d435c77a221 | 22 | void gabarit_robot_manche(void); |
goldmas | 30:f052129d3b4e | 23 | void pavilon_deploye(void); |
Artiom | 0:42544b5e8b9f | 24 | |
maximilienlv | 24:a533b0e5fc12 | 25 | //////////////////////////test////////////////////////////// |
maximilienlv | 26:fecc34e6821c | 26 | void test_BRAS_A(void); |
maximilienlv | 26:fecc34e6821c | 27 | void test_BRAS_B(void); |
maximilienlv | 26:fecc34e6821c | 28 | void test_BRAS_C(void); |
maximilienlv | 26:fecc34e6821c | 29 | void test_BRAS_D(void); |
maximilienlv | 26:fecc34e6821c | 30 | |
maximilienlv | 23:b38045fe95f9 | 31 | void test_BRAS_1(void); |
maximilienlv | 23:b38045fe95f9 | 32 | void test_BRAS_2(void); |
maximilienlv | 23:b38045fe95f9 | 33 | void test_BRAS_3(void); |
maximilienlv | 25:1faab5723fb0 | 34 | void test_BRAS_4(void); |
maximilienlv | 26:fecc34e6821c | 35 | void test_BRAS_5(void); |
maximilienlv | 26:fecc34e6821c | 36 | void test_BRAS_6(void); |
Artiom | 0:42544b5e8b9f | 37 | |
goldmas | 29:24277e12c44c | 38 | //////////////////////////selection///////////////////////// |
goldmas | 29:24277e12c44c | 39 | void selection_bras_attraper(void); |
goldmas | 29:24277e12c44c | 40 | void selection_bras_relacher(void); |
goldmas | 29:24277e12c44c | 41 | |
goldmas | 30:f052129d3b4e | 42 | void selection_bras_prepa(void); |
goldmas | 30:f052129d3b4e | 43 | void selection_bras_poser(void); |
goldmas | 30:f052129d3b4e | 44 | |
maximilienlv | 24:a533b0e5fc12 | 45 | //////////////////////////automates///////////////////////// |
maximilienlv | 24:a533b0e5fc12 | 46 | void automate_bras_attraper_1(void); |
maximilienlv | 24:a533b0e5fc12 | 47 | void automate_bras_relacher_1(void); |
maximilienlv | 24:a533b0e5fc12 | 48 | void automate_bras_attraper_2(void); |
maximilienlv | 24:a533b0e5fc12 | 49 | void automate_bras_relacher_2(void); |
maximilienlv | 24:a533b0e5fc12 | 50 | void automate_bras_attraper_3(void); |
maximilienlv | 24:a533b0e5fc12 | 51 | void automate_bras_relacher_3(void); |
goldmas | 29:24277e12c44c | 52 | void automate_manche_air_haut(void) ; |
goldmas | 29:24277e12c44c | 53 | void automate_manche_air_bas(void) ; |
goldmas | 30:f052129d3b4e | 54 | void automate_manche_air_moy(void) ; |
goldmas | 30:f052129d3b4e | 55 | void automate_bras_prepa_1(void); |
goldmas | 30:f052129d3b4e | 56 | void automate_bras_poser_1(void); |
goldmas | 30:f052129d3b4e | 57 | void automate_bras_prepa_2(void); |
goldmas | 30:f052129d3b4e | 58 | void automate_bras_poser_2(void); |
goldmas | 30:f052129d3b4e | 59 | void automate_bras_prepa_3(void); |
goldmas | 30:f052129d3b4e | 60 | void automate_bras_poser_3(void); |
gein | 31:dd39b63a012a | 61 | |
gein | 31:dd39b63a012a | 62 | int mesure_resistor(float vpot,bool color); |
gein | 31:dd39b63a012a | 63 | int traitement (); |
gein | 31:dd39b63a012a | 64 | void set_color(bool color); |
gein | 31:dd39b63a012a | 65 | int algo_carre (int nombre); |
gein | 31:dd39b63a012a | 66 | void BF_test_mesure (bool BJ); |
goldmas | 28:4d435c77a221 | 67 | /*void automate_position_lidar(void);*/ |
maximilienlv | 22:4a005be0883b | 68 | #endif |