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: mbed
Revision 7:1232c7939984, committed 2016-05-24
- Comitter:
- smilestone520
- Date:
- Tue May 24 08:12:52 2016 +0000
- Parent:
- 6:f4250d71f974
- Child:
- 8:079c3326816e
- Child:
- 9:b073f4ecb5f9
- Commit message:
- ; more details
Changed in this revision
| ai.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ai.cpp Tue May 24 08:10:47 2016 +0000
+++ b/ai.cpp Tue May 24 08:12:52 2016 +0000
@@ -240,7 +240,7 @@
getBall()
{
- // keep update car's and ball's position date from bluetooth
+ // keep update car's and ball's position data from bluetooth
// if angleR is too much, stop , aim the direction, then move again
@@ -248,7 +248,7 @@
// check if ball is inside the region ,
- // Yes --> next state case
+ // Yes --> next state case 4
// No --> take back the claw
@@ -257,6 +257,15 @@
}
+******* moveToGate() ***************************
+
+moveToGate()
+{
+
+
+
+}
+