Voili voilou
Dependencies: RoboClaw StepperMotor mbed
Fork of Robot2016_2-0 by
Diff: Functions/func.h
- Revision:
- 45:b53ae54062c6
- Parent:
- 44:b1fd7489369f
- Child:
- 46:8eae88c45a78
--- a/Functions/func.h Wed Apr 13 11:43:10 2016 +0000 +++ b/Functions/func.h Wed Apr 13 12:47:47 2016 +0000 @@ -9,6 +9,7 @@ #include "AX12.h" #define SEUIL 0.25 +#define dt 10000 extern Serial logger; extern RoboClaw roboclaw; @@ -27,6 +28,8 @@ 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; @@ -46,5 +49,6 @@ void init_interrupt(void); void goHome(void); void checkAround(void); +void update_main(void); #endif \ No newline at end of file