DERPS
Dependencies: BMP280 BNO055_fusion PowerControl mbed
Fork of STRAIGHT_DRIVE_NO_SEP by
Diff: LOCOMOTION.cpp
- Revision:
- 38:16208e003dc9
- Parent:
- 37:e8a6ea255c09
diff -r e8a6ea255c09 -r 16208e003dc9 LOCOMOTION.cpp --- a/LOCOMOTION.cpp Tue Apr 26 20:09:25 2016 +0000 +++ b/LOCOMOTION.cpp Wed Apr 27 04:24:11 2016 +0000 @@ -56,7 +56,7 @@ s=SPEED_X_MIN; else s=((SPEED_X_MAX-SPEED_X_MIN)*abs(current-target)/FRAME_W)+SPEED_X_MIN;*/ - if(abs(current-target)<25) + if(abs(current-target)<30) s=((SPEED_X_MAX-SPEED_X_MIN)*abs(current-target)/FRAME_W)+SPEED_X_MIN; else s=SPEED_X_MAX;