Funktionen Umbennenen

Dependencies:   HCSR

Fork of Bertl by Franz Pucher

Files at this revision

API Documentation at this revision

Comitter:
Nitox09
Date:
Mon Dec 21 14:32:31 2015 +0000
Parent:
17:308802267a62
Commit message:
Funktionen umbenennen

Changed in this revision

Robot.h Show annotated file Show diff for this revision Revisions of this file
const.h Show annotated file Show diff for this revision Revisions of this file
diff -r 308802267a62 -r a5568f72381f Robot.h
--- a/Robot.h	Thu Nov 12 19:05:56 2015 +0000
+++ b/Robot.h	Mon Dec 21 14:32:31 2015 +0000
@@ -14,7 +14,7 @@
 #ifndef ROBOT_H
 #define ROBOT_H
 
-class Robot : public ur_Bertl
+class Robot : public Bertl
 {
 public:
     Robot() {};
diff -r 308802267a62 -r a5568f72381f const.h
--- a/const.h	Thu Nov 12 19:05:56 2015 +0000
+++ b/const.h	Mon Dec 21 14:32:31 2015 +0000
@@ -11,7 +11,7 @@
 #define CONST_H
 #define TIME  /**< if defined Bertl uses the time and not motor encoder*/
 const int MOVE=500;     /**< ms move forward or backward */
-const int TURN=500;     /**< ms TurnLeft or TurnRigth (nearly 90 degree) */
+const int TURN=250;     /**< ms TurnLeft or TurnRigth (nearly 90 degree) */
 const int STEPTIME=20;  /**< ms turn left or right for adjusting moves for TurnLeft or TurnRigth */
 
 /*! \var int ULTRASONIC_DISTANCE
@@ -29,7 +29,7 @@
 /*! \var int ANGLE
 \brief 12 is nearly 90 degree turn left.
 \warning maybe the number has to be adjusted */
-const int ANGLE = 12;      /*  nearly 90 degree turn left */
+const int ANGLE = 10;      /*  nearly 90 degree turn left */
 
 const int BTN_FLL = 0x80;   /**<   button front left outer */
 const int BTN_FL  = 0x04;   /**< button front left */