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.
Fork of Bertl by
Revision 18:691491518d5e, committed 2015-12-21
- Comitter:
- richardkraus
- Date:
- Mon Dec 21 14:31:22 2015 +0000
- Parent:
- 17:308802267a62
- Commit message:
- Bertl pracitse
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 |
--- a/Robot.h Thu Nov 12 19:05:56 2015 +0000
+++ b/Robot.h Mon Dec 21 14:31:22 2015 +0000
@@ -14,7 +14,7 @@
#ifndef ROBOT_H
#define ROBOT_H
-class Robot : public ur_Bertl
+class Robot : public Bertl
{
public:
Robot() {};
--- a/const.h Thu Nov 12 19:05:56 2015 +0000 +++ b/const.h Mon Dec 21 14:31:22 2015 +0000 @@ -11,7 +11,8 @@ #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=280; + ; /**< 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 +30,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 = 9.5; /* nearly 90 degree turn left */ const int BTN_FLL = 0x80; /**< button front left outer */ const int BTN_FL = 0x04; /**< button front left */
