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.
Fork of IEEE_14_Freescale by
Diff: robot.h
- Revision:
- 4:adc885f4ab75
- Parent:
- 3:a223b0bf8256
- Child:
- 9:aff48e331147
--- a/robot.h Sun Nov 17 04:15:18 2013 +0000
+++ b/robot.h Sun Nov 17 21:04:47 2013 +0000
@@ -23,8 +23,10 @@
remoteMotor left;
robot();
double x,y,rot;
- int driveForward(double power, int dist);
- int addforward(double dist);
+ double pfac,ifac,dfac;
+ double angfac;
+ int driveForward(double angle, int dist);
+ void addforward(double dist);
double turn(double power, double degrees);
int moveTo(double xInches, double yInches);
int turntowards(double xInches, double yInches);
