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.
Dependencies: BNO055_fusion mbed
Fork of DEMO2 by
Revision 14:4839989ae907, committed 2016-03-24
- Comitter:
- 12104404
- Date:
- Thu Mar 24 03:54:29 2016 +0000
- Parent:
- 13:c62f975dfcfe
- Child:
- 15:7729da55873a
- Commit message:
- Before I make it a library
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Mar 23 18:12:47 2016 +0000 +++ b/main.cpp Thu Mar 24 03:54:29 2016 +0000 @@ -3,8 +3,8 @@ #include "WATCHDOG.h" -#define SPEED_TURN_MIN 0.30 -#define SPEED_TURN_MAX 0.45 +#define SPEED_TURN_MIN 0.15 +#define SPEED_TURN_MAX 0.35 #define SPEED_FB_MIN 0.15 #define SPEED_FB_MAX 0.50 @@ -49,7 +49,7 @@ //loc.get_angle(&xya); loc.get_xy(&xya); //pc.printf("X: %3d\tY: %3d\tP: %3d\n",xya.x,xya.y,xya.a); - //setAngle(0); + setAngle(0); wdt.kick(); } }