inkl Line Sensor
Dependencies: mbed
Fork of Roboshark_V2 by
Fahren.h
- Committer:
- Jacqueline
- Date:
- 2018-04-23
- Revision:
- 1:a95ba1510438
- Parent:
- 0:6d0671ae4648
- Child:
- 4:767fd282dd9c
File content as of revision 1:a95ba1510438:
#ifndef FAHREN_H_ #define FAHREN_H_ #include <mbed.h> #include "EncoderCounter.h" #include "Controller.h" class Fahren{ public: Fahren(Controller& controller, EncoderCounter& counterLeft, EncoderCounter& counterRight); //Konstruktor virtual ~Fahren(); void geradeaus(); void rechts90(); void rechts180(); void links90(); private: Controller& controller; EncoderCounter& counterLeft; EncoderCounter& counterRight; //Variablen die in der Klasse Fahren verwendet werden double speedRight; double speedLeft; short initialClicksLeft; short initialClicksRight; short wegLinks; short wegRechts; short stopRight; short stopLeft; }; #endif