Robot secondaire
Dependencies: RoboClaw mbed StepperMotor
Fork of RoboClaw by
Diff: Odometry/Odometry.h
- Revision:
- 31:8bcc3a0bfa8a
- Parent:
- 12:d5e21f71c2a9
- Child:
- 34:e5500418b0e7
- Child:
- 35:4e3d9ab1b94b
--- a/Odometry/Odometry.h Fri Jan 22 15:46:43 2016 +0000 +++ b/Odometry/Odometry.h Tue Jan 26 16:39:43 2016 +0000 @@ -2,14 +2,15 @@ #define ODOMETRY_H #include "mbed.h" -#include "RoboClaw.h" +#include "../RoboClaw/RoboClaw.h" #define PI 3.1415926535897932384626433832795 #define C 1.0 -#define accel_angle 8000 +/* Vitesse d'acceleration d'angle reduite de 8000->4000 */ +#define accel_angle 4000 #define vitesse_angle 16000 -#define deccel_angle 8000 +#define deccel_angle 4000 #define accel_dista 8000 #define vitesse_dista 16000