Turn Code
Dependencies: ContinuousServo Tach mbed
Revision 1:b19f21fdf69f, committed 2018-04-25
- Comitter:
- georgezolovick
- Date:
- Wed Apr 25 03:09:37 2018 +0000
- Parent:
- 0:f9723e66263e
- Commit message:
- 24APR2018
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Apr 25 03:08:02 2018 +0000 +++ b/main.cpp Wed Apr 25 03:09:37 2018 +0000 @@ -13,6 +13,7 @@ float r = 1.3125; //radius of wheels float l = 4.0625; //width of wheel base +//For these robots, a positive omega is a right turn and a negative is left float omega = 0.2; //angular velocity of wheels float v = 0.0; //translational velocity of wheels float kp = 1.0; //Proportional control gain