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
Diff: ai.cpp
- Revision:
- 7:1232c7939984
- Parent:
- 6:f4250d71f974
- Child:
- 8:079c3326816e
diff -r f4250d71f974 -r 1232c7939984 ai.cpp
--- 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()
+{
+
+
+
+}
+