Robot secondaire

Dependencies:   RoboClaw mbed StepperMotor

Fork of RoboClaw by Simon Emarre

Revision:
48:03da1aead032
Parent:
46:5658af4e5149
Child:
51:1056dd73a748
diff -r 5658af4e5149 -r 03da1aead032 Odometry/Odometry.h
--- a/Odometry/Odometry.h	Mon Apr 25 12:38:58 2016 +0000
+++ b/Odometry/Odometry.h	Thu Apr 28 08:11:25 2016 +0000
@@ -8,13 +8,13 @@
 #define C 1.0
 
 /* Vitesse d'acceleration d'angle reduite de 8000->4000 */
-#define accel_angle 8000
-#define vitesse_angle 12000
-#define deccel_angle 8000
+#define accel_angle 0x1000
+#define vitesse_angle 0x1000
+#define deccel_angle 0x1000
 
-#define accel_dista 12000
-#define vitesse_dista 20000
-#define deccel_dista 12000
+#define accel_dista 0x1000
+#define vitesse_dista 0x1000
+#define deccel_dista 0x1000
 
 /* Si le robot parcourt un trop grand angle, il diminuer l'entraxe, sinon l'augmenter */
 #define ENTRAXE 243.8