Algorithmus

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
luethale
Date:
Sat Jun 30 09:49:06 2018 +0000
Parent:
34:0587c0943263
Child:
36:99f60052c746
Commit message:
Nacht_der_Technik

Changed in this revision

Motion.cpp Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Motion.cpp	Thu May 24 14:11:21 2018 +0000
+++ b/Motion.cpp	Sat Jun 30 09:49:06 2018 +0000
@@ -27,7 +27,7 @@
 Motion::~Motion() {}
 
 /**
- * Eine Feldstrecke druchführen
+ * Carry out move for one field
  */
 void Motion::move() {
         
@@ -121,7 +121,7 @@
 }
 
 /**
- * Eine Feldstrecke druchführen
+ * Carry out move for a half field
  */
 void Motion::moveHalf() {
         
@@ -191,7 +191,7 @@
 }
 
 /**
- * Eine Feldstrecke mit überprüfung der Ziellinie fahren
+ * Carry out move for one field with finish line detection
  */
 void Motion::scanMove() {
         
@@ -272,7 +272,7 @@
         lastMove = false;
 }
 /**
- * 90° Rotation nach Links
+ * 90° Rotation left
  */
 void Motion::rotateL() {
     
@@ -301,7 +301,7 @@
 }
     
 /**
- * 90° Rotation nach Rechts
+ * 90° Rotation right
  */
 void Motion::rotateR() {
     
@@ -329,7 +329,7 @@
         stop();
 }
 /**
- * Links abbiegen
+ * Turn left
  */
 void Motion::turnL() {     
         
@@ -360,7 +360,7 @@
         }         
 }
 /**
- * Rechts abbiegen
+ * Turn right
  */
 void Motion::turnR() {    
         
--- a/main.cpp	Thu May 24 14:11:21 2018 +0000
+++ b/main.cpp	Sat Jun 30 09:49:06 2018 +0000
@@ -54,7 +54,7 @@
     
     volatile int start = 0;
     
-    const int debuging = 0;
+    const int debuging = 1;
     
     const int MOVE = 1;
     const int LEFT = 2;