Voili voilou
Dependencies: RoboClaw StepperMotor mbed
Fork of Robot2016_2-0 by
Diff: Functions/func.h
- Revision:
- 46:8eae88c45a78
- Parent:
- 45:b53ae54062c6
--- a/Functions/func.h Wed Apr 13 12:47:47 2016 +0000 +++ b/Functions/func.h Wed Apr 20 13:13:37 2016 +0000 @@ -5,34 +5,13 @@ #include "../RoboClaw/RoboClaw.h" #include "../Odometry/Odometry.h" #include "../StepperMotor/Stepper.h" -#include "Map/Map.h" +#include "Map/map.h" #include "AX12.h" #define SEUIL 0.25 #define dt 10000 -extern Serial logger; -extern RoboClaw roboclaw; -extern DigitalOut bleu; -extern DigitalOut blanc; -extern DigitalOut rouge; -extern Stepper RMot; -extern Stepper ZMot; -extern Stepper LMot; -extern AnalogIn capt1; -extern AnalogIn capt2; -extern AnalogIn capt3; -extern InterruptIn mybutton; -extern InterruptIn EndR; -extern InterruptIn EndZ; -extern InterruptIn EndL; -extern AX12 left_hand; -extern AX12 right_hand; -extern Ticker ticker; -extern Odometry odo; - -extern int i, state; -extern bool EL, EZ, ER; +extern S STAT_CLASS; void ELpressed(void); void ELunpressed(void);