Roboshark / Mbed 2 deprecated Roboshark_V7

Dependencies:   mbed

Fork of Roboshark_V62 by Roboshark

Revision:
9:feabe0b7cea4
Parent:
8:d0a27278c108
--- a/Fahren.h	Mon May 07 14:11:06 2018 +0000
+++ b/Fahren.h	Mon May 07 15:41:52 2018 +0000
@@ -1,4 +1,4 @@
-/*Roboshark V4
+/*Roboshark V7
 Fahren.h
 Erstellt: J. Blunschi
 geändert: V.Ahlers
@@ -12,17 +12,17 @@
 #include <mbed.h>
 #include "EncoderCounter.h"
 #include "Controller.h"
-#include "Regler.h"
+#include "IRSensor.h"
+
 
 
 class Fahren{
     
     public:    
-    Fahren(Controller& controller, EncoderCounter& counterLeft, EncoderCounter& counterRight, Regler& regler, int reglerEin, IRSensor& iRSensor); //Konstruktor
+    Fahren(Controller& controller, EncoderCounter& counterLeft, EncoderCounter& counterRight,IRSensor& iRSensor); //Konstruktor
     
     virtual ~Fahren();
     
-    void geradeausU();
     void geradeausG();
     void rechts90();
     void rechts180();
@@ -35,10 +35,7 @@
     Controller& controller;
     EncoderCounter& counterLeft;
     EncoderCounter& counterRight;
-    Regler& regler;
     IRSensor& iRSensor;
-    Ticker ticker;
-    void getSpeed();
 
     
     //Variablen die in der Klasse Fahren verwendet werden
@@ -55,7 +52,6 @@
     float disF;
     int reglerEinL;
     int reglerEinR;
-    static const float PERIOD;
     int reglerEin;