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.
Dependencies: mbed
Fork of Roboshark_V8 by
Diff: Fahren.h
- Revision:
- 8:d0a27278c108
- Parent:
- 7:862d80e0ea2d
- Child:
- 9:feabe0b7cea4
--- a/Fahren.h Fri May 04 16:26:59 2018 +0000
+++ b/Fahren.h Mon May 07 14:11:06 2018 +0000
@@ -18,7 +18,7 @@
class Fahren{
public:
- Fahren(Controller& controller, EncoderCounter& counterLeft, EncoderCounter& counterRight, Regler& regler, int reglerEin); //Konstruktor
+ Fahren(Controller& controller, EncoderCounter& counterLeft, EncoderCounter& counterRight, Regler& regler, int reglerEin, IRSensor& iRSensor); //Konstruktor
virtual ~Fahren();
@@ -36,6 +36,7 @@
EncoderCounter& counterLeft;
EncoderCounter& counterRight;
Regler& regler;
+ IRSensor& iRSensor;
Ticker ticker;
void getSpeed();
@@ -51,6 +52,9 @@
short stopLeft;
float SpeedR;
float SpeedL;
+ float disF;
+ int reglerEinL;
+ int reglerEinR;
static const float PERIOD;
int reglerEin;
