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: main.cpp
- Revision:
- 12:925f52da3ba9
- Parent:
- 11:967469d7e01c
- Child:
- 14:a30aa3b29a2e
--- a/main.cpp Wed Feb 12 06:00:07 2014 +0000 +++ b/main.cpp Wed Feb 12 06:41:29 2014 +0000 @@ -59,7 +59,7 @@ //bot.motors.moveForward(100); tmpOut = bot.absDriveForward(targetAngle,3000); DBGPRINT("W -> %d\n\r",tmpOut); - //DBGPRINT("={%f,\t%f,\t%f}\n\r",bot.x,bot.y,bot.rot*180.0/3.14159); + DBGPRINT("={%f,\t%f,\t%f}\n\r",bot.x,bot.y,bot.rot*180.0/3.14159); break; case 'E': //drive forward five times as much bot.driveForward(targetAngle,5000); @@ -67,10 +67,10 @@ break; case 'X': // small reverse //bot.driveForward(targetAngle,-1000); - //DBGPRINT("={%f,\t%f,\t%f}\n\r",bot.x,bot.y,bot.rot*180.0/3.14159); tmpOut = bot.absDriveForward(targetAngle,-3000); DBGPRINT("X -> %d\n\r",tmpOut); + DBGPRINT("={%f,\t%f,\t%f}\n\r",bot.x,bot.y,bot.rot*180.0/3.14159); break; case 'C': // big reverse bot.driveForward(targetAngle,-5000);