Robot secondaire

Dependencies:   RoboClaw mbed StepperMotor

Fork of RoboClaw by Simon Emarre

Revision:
51:1056dd73a748
Parent:
48:03da1aead032
Child:
65:7bf11abfefc3
Child:
77:f19cc7f81f2a
diff -r 2dea82393beb -r 1056dd73a748 Odometry/Odometry.h
--- a/Odometry/Odometry.h	Mon May 02 08:35:56 2016 +0000
+++ b/Odometry/Odometry.h	Wed May 04 16:15:13 2016 +0000
@@ -8,18 +8,17 @@
 #define C 1.0
 
 /* Vitesse d'acceleration d'angle reduite de 8000->4000 */
-#define accel_angle 0x1000
-#define vitesse_angle 0x1000
-#define deccel_angle 0x1000
+#define accel_angle 4096
+#define vitesse_angle 4096
+#define deccel_angle 4096
 
-#define accel_dista 0x1000
-#define vitesse_dista 0x1000
-#define deccel_dista 0x1000
+#define accel_dista 4096
+#define vitesse_dista 4096
+#define deccel_dista 4096
 
 /* Si le robot parcourt un trop grand angle, il diminuer l'entraxe, sinon l'augmenter */
 #define ENTRAXE 243.8
 
-
 /*
 *   Author : Benjamin Bertelone, reworked by Simon Emarre
 */