Voili voilou
Dependencies: RoboClaw StepperMotor mbed
Fork of Robot2016_2-0 by
Functions/func.h@46:8eae88c45a78, 2016-04-20 (annotated)
- Committer:
- IceTeam
- Date:
- Wed Apr 20 13:13:37 2016 +0000
- Revision:
- 46:8eae88c45a78
- Parent:
- 45:b53ae54062c6
Mise en static;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sype | 41:b5a2fbc20beb | 1 | #ifndef FUNC_H |
sype | 41:b5a2fbc20beb | 2 | #define FUNC_H |
sype | 41:b5a2fbc20beb | 3 | |
sype | 41:b5a2fbc20beb | 4 | #include "mbed.h" |
sype | 41:b5a2fbc20beb | 5 | #include "../RoboClaw/RoboClaw.h" |
sype | 41:b5a2fbc20beb | 6 | #include "../Odometry/Odometry.h" |
sype | 41:b5a2fbc20beb | 7 | #include "../StepperMotor/Stepper.h" |
IceTeam | 46:8eae88c45a78 | 8 | #include "Map/map.h" |
sype | 41:b5a2fbc20beb | 9 | #include "AX12.h" |
sype | 41:b5a2fbc20beb | 10 | |
sype | 41:b5a2fbc20beb | 11 | #define SEUIL 0.25 |
sype | 45:b53ae54062c6 | 12 | #define dt 10000 |
sype | 41:b5a2fbc20beb | 13 | |
IceTeam | 46:8eae88c45a78 | 14 | extern S STAT_CLASS; |
sype | 41:b5a2fbc20beb | 15 | |
sype | 41:b5a2fbc20beb | 16 | void ELpressed(void); |
sype | 41:b5a2fbc20beb | 17 | void ELunpressed(void); |
sype | 41:b5a2fbc20beb | 18 | void EZpressed(void); |
sype | 41:b5a2fbc20beb | 19 | void EZunpressed(void); |
sype | 41:b5a2fbc20beb | 20 | void ERpressed(void); |
sype | 41:b5a2fbc20beb | 21 | void ERunpressed(void); |
sype | 41:b5a2fbc20beb | 22 | |
sype | 41:b5a2fbc20beb | 23 | void pressed(void); |
sype | 41:b5a2fbc20beb | 24 | void unpressed(void); |
sype | 41:b5a2fbc20beb | 25 | void JPO(void); |
sype | 41:b5a2fbc20beb | 26 | |
sype | 41:b5a2fbc20beb | 27 | void init_ax12(void); |
sype | 44:b1fd7489369f | 28 | void init_interrupt(void); |
sype | 41:b5a2fbc20beb | 29 | void goHome(void); |
sype | 41:b5a2fbc20beb | 30 | void checkAround(void); |
sype | 45:b53ae54062c6 | 31 | void update_main(void); |
sype | 41:b5a2fbc20beb | 32 | |
sype | 41:b5a2fbc20beb | 33 | #endif |