oklm

Dependents:   RoboClaw TestMyPathFind Robot2016_2-0_STATIC Stressed ... more

Files at this revision

API Documentation at this revision

Comitter:
IceTeam
Date:
Sat Feb 06 11:55:10 2016 +0000
Parent:
5:ad00b3431ff5
Child:
7:af0e3da221a9
Child:
9:0fc5514faed9
Commit message:
Ca marche en commande bt

Changed in this revision

RoboClaw.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/RoboClaw.cpp	Sat Feb 06 10:11:15 2016 +0000
+++ b/RoboClaw.cpp	Sat Feb 06 11:55:10 2016 +0000
@@ -218,7 +218,7 @@
 }
 
 void RoboClaw::SpeedAccelM1M2(uint8_t address, int32_t accel1, int32_t speed1, int32_t accel2, int32_t speed2){
-    write_n(12,address,M2SPEEDACCEL,SetDWORDval(accel1),SetDWORDval(speed1),SetDWORDval(accel2),SetDWORDval(speed2));
+    write_n(10,address,M2SPEEDACCEL,SetDWORDval(accel1),SetDWORDval(speed1),SetDWORDval(accel2),SetDWORDval(speed2));
 }
 
 void RoboClaw::SpeedDistanceM1(uint8_t address, int32_t speed, uint32_t distance, uint8_t buffer){