Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Command.cpp
- Revision:
- 6:bbaabcc5206d
- Parent:
- 5:0032e2f8949c
- Child:
- 10:6e32b53f04c3
diff -r 0032e2f8949c -r bbaabcc5206d Command.cpp
--- a/Command.cpp Sat Nov 28 19:36:34 2015 +0000
+++ b/Command.cpp Sat Nov 28 19:49:22 2015 +0000
@@ -33,12 +33,12 @@
if(_IS_NEGATIVE)
{
_RIGHT_WHEEL.speed(-_SPEED);
- _LEFT_WHEEL.speed(-_SPEED*0.72);
+ _LEFT_WHEEL.speed(-_SPEED*0.65);
}
else
{
_RIGHT_WHEEL.speed(_SPEED);
- _LEFT_WHEEL.speed(_SPEED*0.72);
+ _LEFT_WHEEL.speed(_SPEED*0.65);
}
}
@@ -47,12 +47,12 @@
_STBY = 1;
if(_IS_NEGATIVE)
{
- _RIGHT_WHEEL.speed(-_SPEED*0.72);
+ _RIGHT_WHEEL.speed(-_SPEED*0.65);
_LEFT_WHEEL.speed(-_SPEED);
}
else
{
- _RIGHT_WHEEL.speed(_SPEED*0.72);
+ _RIGHT_WHEEL.speed(_SPEED*0.65);
_LEFT_WHEEL.speed(_SPEED);
}
}