Robot secondaire
Dependencies: RoboClaw mbed StepperMotor
Fork of RoboClaw by
Diff: Odometry/Odometry.h
- Revision:
- 65:7bf11abfefc3
- Parent:
- 51:1056dd73a748
- Child:
- 66:47353c8122de
diff -r 24e1057a97f7 -r 7bf11abfefc3 Odometry/Odometry.h --- a/Odometry/Odometry.h Thu May 05 01:30:14 2016 +0200 +++ b/Odometry/Odometry.h Thu May 05 01:52:34 2016 +0200 @@ -108,6 +108,10 @@ double carre(double a) { return a*a; } + void Stop { + roboclaw.ForwardM1(0); + roboclaw.ForwardM2(0); + } void getEnc();